Mercurial > vim
comparison src/testdir/test_autocmd.vim @ 23634:0f306712eb58 v8.2.2359
patch 8.2.2359: strange test failure with MS-Windows
Commit: https://github.com/vim/vim/commit/e2924328c165f1fc549f91bf212c93c87bb1d9ed
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 16 13:11:42 2021 +0100
patch 8.2.2359: strange test failure with MS-Windows
Problem: Strange test failure with MS-Windows.
Solution: Skip the system() call for now.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 16 Jan 2021 13:15:04 +0100 |
parents | e23ccc04025a |
children | 93f90f2ff4e9 |
comparison
equal
deleted
inserted
replaced
23633:7d23529a011d | 23634:0f306712eb58 |
---|---|
501 endfunc | 501 endfunc |
502 | 502 |
503 " Using :blast and :ball for many events caused a crash, because b_nwindows was | 503 " Using :blast and :ball for many events caused a crash, because b_nwindows was |
504 " not incremented correctly. | 504 " not incremented correctly. |
505 func Test_autocmd_blast_badd() | 505 func Test_autocmd_blast_badd() |
506 " The system() here causes SetChangeMarks() to fail, when run in the GUI | |
507 " under Windows. No idea why. Happens with any external command, not | |
508 " related to the actual test. | |
509 " TODO: find the cause | |
510 if has('win32') | |
511 throw 'Skipped: calling system() causes problems' | |
512 endif | |
513 | |
506 let content =<< trim [CODE] | 514 let content =<< trim [CODE] |
507 au BufNew,BufAdd,BufWinEnter,BufEnter,BufLeave,BufWinLeave,BufUnload,VimEnter foo* blast | 515 au BufNew,BufAdd,BufWinEnter,BufEnter,BufLeave,BufWinLeave,BufUnload,VimEnter foo* blast |
508 edit foo1 | 516 edit foo1 |
509 au BufNew,BufAdd,BufWinEnter,BufEnter,BufLeave,BufWinLeave,BufUnload,VimEnter foo* ball | 517 au BufNew,BufAdd,BufWinEnter,BufEnter,BufLeave,BufWinLeave,BufUnload,VimEnter foo* ball |
510 edit foo2 | 518 edit foo2 |