From 3465e0daa0daa1fdb9a8706724493646a731e359 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Fri, 29 Sep 2023 05:47:23 +0800 Subject: vim-patch:9.0.1947: Bash Expansion test fails on Windows/MacOS Problem: Bash Expansion test fails on Windows/MacOS Solution: Disable Test_glob_extended_bash for now This test doesn't work on Windows even if bash can be executed, since the globstar functionality has only been enabled in Unix builds of Vim (Commit 9eb1ce531527a7177d16373b0f8689bbcd3d5f73, patch 9.0.1946). closes: vim/vim#13205 https://github.com/vim/vim/commit/03ca4002c1dcd34c4b17fe4a491b02d77ec2c887 Co-authored-by: Ken Takata --- test/old/testdir/test_functions.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/old/testdir/test_functions.vim b/test/old/testdir/test_functions.vim index f3636f93dd..7b20f47f7a 100644 --- a/test/old/testdir/test_functions.vim +++ b/test/old/testdir/test_functions.vim @@ -3284,6 +3284,9 @@ endfunc " Test for glob() with shell special patterns func Test_glob_extended_bash() CheckExecutable bash + CheckNotMSWindows + CheckNotMac " The default version of bash is old on macOS. + let _shell = &shell set shell=bash -- cgit