view src/testdir/test97.in @ 5826:afb542ea210c v7.4.256

updated for version 7.4.256 Problem: Using systemlist() may cause a crash and does not handle NUL characters properly. Solution: Increase the reference count, allocate memory by length. (Yasuhiro Matsumoto)
author Bram Moolenaar <bram@vim.org>
date Fri, 11 Apr 2014 10:22:53 +0200
parents 93cccad6a26b
children 8e9db1f27a00
line wrap: on
line source

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

STARTTEST
:so small.vim
:set shell=doesnotexist
:e test.out
:put =glob('Xxx\{')
:put =glob('Xxx\$')
:w! Xxx{
:w! Xxx\$
:put =glob('Xxx\{')
:put =glob('Xxx\$')
:w
:qa!
ENDTEST