commit 3465e0daa0daa1fdb9a8706724493646a731e359
parent 92e40f8d185e3da8fc97b7a48041afc3fd568d29
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri, 29 Sep 2023 05:47:23 +0800
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 <kentkt@csc.jp>
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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