annotate src/testdir/test97.in @ 8861:45fe799c9672 v7.4.1718

commit https://github.com/vim/vim/commit/d56374e25df0b317b01423a01f158157faa647fa Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 7 22:16:30 2016 +0200 patch 7.4.1718 Problem: Coverity: not using return value of set_ref_in_item(). Solution: Use the return value.
author Christian Brabandt <cb@256bit.org>
date Thu, 07 Apr 2016 22:30:05 +0200
parents 6d0a1132dd71
children e5dddd764fef
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5104
93cccad6a26b updated for version 7.3.1295
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 Test whether glob()/globpath() return correct results with certain escaped
93cccad6a26b updated for version 7.3.1295
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 characters.
93cccad6a26b updated for version 7.3.1295
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3
93cccad6a26b updated for version 7.3.1295
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 STARTTEST
93cccad6a26b updated for version 7.3.1295
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 :so small.vim
5879
6d0a1132dd71 updated for version 7.4.282
Bram Moolenaar <bram@vim.org>
parents: 5873
diff changeset
6 :" make sure glob() doesn't use the shell
5104
93cccad6a26b updated for version 7.3.1295
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 :set shell=doesnotexist
5879
6d0a1132dd71 updated for version 7.4.282
Bram Moolenaar <bram@vim.org>
parents: 5873
diff changeset
8 :" consistent sorting of file names
6d0a1132dd71 updated for version 7.4.282
Bram Moolenaar <bram@vim.org>
parents: 5873
diff changeset
9 :set nofileignorecase
5104
93cccad6a26b updated for version 7.3.1295
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 :e test.out
5873
8e9db1f27a00 updated for version 7.4.279
Bram Moolenaar <bram@vim.org>
parents: 5104
diff changeset
11 :$put =glob('Xxx\{')
8e9db1f27a00 updated for version 7.4.279
Bram Moolenaar <bram@vim.org>
parents: 5104
diff changeset
12 :$put =glob('Xxx\$')
5104
93cccad6a26b updated for version 7.3.1295
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 :w! Xxx{
93cccad6a26b updated for version 7.3.1295
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 :w! Xxx\$
5873
8e9db1f27a00 updated for version 7.4.279
Bram Moolenaar <bram@vim.org>
parents: 5104
diff changeset
15 :$put =glob('Xxx\{')
8e9db1f27a00 updated for version 7.4.279
Bram Moolenaar <bram@vim.org>
parents: 5104
diff changeset
16 :$put =glob('Xxx\$')
8e9db1f27a00 updated for version 7.4.279
Bram Moolenaar <bram@vim.org>
parents: 5104
diff changeset
17 :"
8e9db1f27a00 updated for version 7.4.279
Bram Moolenaar <bram@vim.org>
parents: 5104
diff changeset
18 :$put =string(globpath('sautest/autoload', '*.vim'))
8e9db1f27a00 updated for version 7.4.279
Bram Moolenaar <bram@vim.org>
parents: 5104
diff changeset
19 :$put =string(globpath('sautest/autoload', '*.vim', 0, 1))
5104
93cccad6a26b updated for version 7.3.1295
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 :w
93cccad6a26b updated for version 7.3.1295
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 :qa!
93cccad6a26b updated for version 7.3.1295
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22 ENDTEST
93cccad6a26b updated for version 7.3.1295
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23