Mercurial > vim
view src/testdir/test97.in @ 7420:37092e334ef2 v7.4.1014
commit https://github.com/vim/vim/commit/06b0734d9cd2f39d4c12c7fd89a100eadbe5be78
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 31 22:26:28 2015 +0100
patch 7.4.1014
Problem: fnamemodify('.', ':.') returns an empty string in Cygwin.
Solution: Use CCP_RELATIVE in the call to cygwin_conv_path. (Jacob Niehus,
closes https://github.com/vim/vim/issues/505)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 31 Dec 2015 22:30:05 +0100 |
parents | 6d0a1132dd71 |
children | e5dddd764fef |
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