Skip to content

Commit

Permalink
patch 9.0.1947: Bash Expansion test fails on Windows/MacOS
Browse files Browse the repository at this point in the history
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 9eb1ce5, patch 9.0.1946).

closes: #13205

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Ken Takata <kentkt@csc.jp>
  • Loading branch information
k-takata authored and chrisbra committed Sep 28, 2023
1 parent e845b38 commit 03ca400
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/testdir/test_functions.vim
Original file line number Diff line number Diff line change
Expand Up @@ -3628,6 +3628,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

Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1947,
/**/
1946,
/**/
Expand Down

0 comments on commit 03ca400

Please sign in to comment.