Patch 8.2.5081
Problem: Autocmd test fails on MS-Windows.
Solution: Set shellslash to get forward slashes.
Files: src/testdir/test_autocmd.vim
*** ../vim-8.2.5080/src/testdir/test_autocmd.vim 2022-06-12 11:49:11.596611728 +0100
--- src/testdir/test_autocmd.vim 2022-06-12 22:30:06.089095920 +0100
***************
*** 2108,2119 ****
--- 2108,2122 ----
exe 'lcd ' .. fnameescape(s:dir_bar)
call assert_equal(expected, s:li)
+ let save_shellslash = &shellslash
+ set shellslash
exe 'cd ' .. s:dir_foo
exe 'cd ' .. s:dir_bar
autocmd! test_dirchanged DirChanged global let g:result = expand("<afile>")
cd -
call assert_equal(s:dir_foo, g:result)
+ let &shellslash = save_shellslash
call s:After_test_dirchanged()
endfunc
*** ../vim-8.2.5080/src/version.c 2022-06-12 21:10:52.360714654 +0100
--- src/version.c 2022-06-12 22:32:30.929084865 +0100
***************
*** 736,737 ****
--- 736,739 ----
{ /* Add new patch number below this line */
+ /**/
+ 5081,
/**/
--
You can be stopped by the police for biking over 65 miles per hour.
You are not allowed to walk across a street on your hands.
[real standing laws in Connecticut, United States of America]
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///