summaryrefslogtreecommitdiff
path: root/src/testdir/test_escaped_glob.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-11-21 11:43:08 +0100
committerBram Moolenaar <Bram@vim.org>2017-11-21 11:43:08 +0100
commit6e77df2d8555ade4470e566011603ae40f1f0f3a (patch)
tree48222e9abb40ef81ad8a5e8732d022dfdd850c8d /src/testdir/test_escaped_glob.vim
parent5df95ea9ef34b5a898141ddc7134e4a7de713ba5 (diff)
downloadvim-git-6e77df2d8555ade4470e566011603ae40f1f0f3a.tar.gz
patch 8.0.1326: largefile test fails on CI, glob test on MS-Windowsv8.0.1326
Problem: Largefile test fails on CI, glob test on MS-Windows. Solution: Remove largefile test from list of all tests. Don't run Test_glob() on non-unix systems. More cleanup. (Yegappan Lakshmanan, closes #2354)
Diffstat (limited to 'src/testdir/test_escaped_glob.vim')
-rw-r--r--src/testdir/test_escaped_glob.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/test_escaped_glob.vim b/src/testdir/test_escaped_glob.vim
index 6eca8bc71..b91c6e742 100644
--- a/src/testdir/test_escaped_glob.vim
+++ b/src/testdir/test_escaped_glob.vim
@@ -9,12 +9,19 @@ function SetUp()
endfunction
function Test_glob()
+ if !has('unix')
+ " This test fails on Windows because of the special characters in the
+ " filenames. Disable the test on non-Unix systems for now.
+ return
+ endif
call assert_equal("", glob('Xxx\{'))
call assert_equal("", glob('Xxx\$'))
w! Xxx{
w! Xxx\$
call assert_equal("Xxx{", glob('Xxx\{'))
call assert_equal("Xxx$", glob('Xxx\$'))
+ call delete('Xxx{')
+ call delete('Xxx$')
endfunction
function Test_globpath()