view src/testdir/test97.in @ 11441:20ae51fe57de

Added tag v8.0.0604 for changeset f9f2e9aa884cfd08c7ee9b963b9f8bb9682f969d
author Christian Brabandt <cb@256bit.org>
date Wed, 24 May 2017 10:45:03 +0200
parents e5dddd764fef
children
line wrap: on
line source

Test whether glob()/globpath() return correct results with certain escaped
characters.

STARTTEST
:so small.vim
:" make sure glob() doesn't use the shell
:set shell=doesnotexist
:" consistent sorting of file names
:set nofileignorecase
:e! test.out
:$put =glob('Xxx\{')
:$put =glob('Xxx\$')
:w! Xxx{
:w! Xxx\$
:$put =glob('Xxx\{')
:$put =glob('Xxx\$')
:"
:$put =string(globpath('sautest/autoload', '*.vim'))
:$put =string(globpath('sautest/autoload', '*.vim', 0, 1))
:w
:qa!
ENDTEST