Patch 8.2.3008

8 views
Skip to first unread message

Bram Moolenaar

unread,
Jun 15, 2021, 5:06:34 PM6/15/21
to vim...@googlegroups.com

Patch 8.2.3008 (after 8.2.3006)
Problem: Startup test may hang.
Solution: Add quit command in the script.
Files: src/testdir/test_startup.vim


*** ../vim-8.2.3007/src/testdir/test_startup.vim 2021-06-15 22:39:07.570028096 +0200
--- src/testdir/test_startup.vim 2021-06-15 23:04:23.566450415 +0200
***************
*** 1305,1313 ****
let lines =<< trim END
echo v:true
call writefile(['done'], 'Xresult')
END
call writefile(lines, 'Xscript')
! if RunVim([], [], '--cmd "source Xscript" --c q')
call assert_equal(['done'], readfile('Xresult'))
endif
call delete('Xscript')
--- 1305,1314 ----
let lines =<< trim END
echo v:true
call writefile(['done'], 'Xresult')
+ quit
END
call writefile(lines, 'Xscript')
! if RunVim([], [], '--cmd "source Xscript"')
call assert_equal(['done'], readfile('Xresult'))
endif
call delete('Xscript')
*** ../vim-8.2.3007/src/version.c 2021-06-15 22:54:25.179839176 +0200
--- src/version.c 2021-06-15 23:05:32.582282376 +0200
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 3008,
/**/

--
For humans, honesty is a matter of degree. Engineers are always honest in
matters of technology and human relationships. That's why it's a good idea
to keep engineers away from customers, romantic interests, and other people
who can't handle the truth.
(Scott Adams - The Dilbert principle)

/// 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 ///

Bram Moolenaar

unread,
Jun 15, 2021, 5:32:55 PM6/15/21
to vim...@googlegroups.com, Bram Moolenaar

I wrote:

> Patch 8.2.3008 (after 8.2.3006)
> Problem: Startup test may hang.
> Solution: Add quit command in the script.
> Files: src/testdir/test_startup.vim

Unfortunately, it still hangs on MS-Windows. I don't see a hint why.
Any ideas?


--
While it's true that many normal people whould prefer not to _date_ an
engineer, most normal people harbor an intense desire to _mate_ with them,
thus producing engineerlike children who will have high-paying jobs long
before losing their virginity.

Yegappan Lakshmanan

unread,
Jun 16, 2021, 12:24:47 AM6/16/21
to vim_dev, Bram Moolenaar
Hi Bram,

On Tue, Jun 15, 2021 at 2:32 PM Bram Moolenaar <Br...@moolenaar.net> wrote:
>
>
> I wrote:
>
> > Patch 8.2.3008 (after 8.2.3006)
> > Problem: Startup test may hang.
> > Solution: Add quit command in the script.
> > Files: src/testdir/test_startup.vim
>
> Unfortunately, it still hangs on MS-Windows. I don't see a hint why.
> Any ideas?
>

The v:true is displayed in a dialog box. So the test hangs.
This test should not be run in GUI?

- Yegappan

Bram Moolenaar

unread,
Jun 16, 2021, 5:00:42 AM6/16/21
to vim...@googlegroups.com, Yegappan Lakshmanan

Yegappan wrote:

> > > Patch 8.2.3008 (after 8.2.3006)
> > > Problem: Startup test may hang.
> > > Solution: Add quit command in the script.
> > > Files: src/testdir/test_startup.vim
> >
> > Unfortunately, it still hangs on MS-Windows. I don't see a hint why.
> > Any ideas?
>
> The v:true is displayed in a dialog box. So the test hangs.
> This test should not be run in GUI?

That makes sense, I'll skip the test in the GUI.

--
Female engineers become irresistible at the age of consent and remain that
way until about thirty minutes after their clinical death. Longer if it's a
warm day.
Reply all
Reply to author
Forward
0 new messages