]>
Commit | Line | Data |
---|---|---|
14b40f53 AG |
1 | To: vim-dev@vim.org |
2 | Subject: Patch 6.2.436 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=ISO-8859-1 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 6.2.436 | |
11 | Problem: Running the tests changes the user's viminfo file. | |
12 | Solution: In test 49 tell the extra Vim to use the test viminfo file. | |
13 | Files: src/testdir/test49.vim | |
14 | ||
15 | ||
16 | *** ../vim-6.2.435/src/testdir/test49.vim Thu Feb 5 16:04:27 2004 | |
17 | --- src/testdir/test49.vim Sat Apr 3 16:27:32 2004 | |
18 | *************** | |
19 | *** 1,6 **** | |
20 | " Vim script language tests | |
21 | " Author: Servatius Brandt <Servatius.Brandt@fujitsu-siemens.com> | |
22 | ! " Last Change: 2003 Jul 30 | |
23 | ||
24 | "------------------------------------------------------------------------------- | |
25 | " Test environment {{{1 | |
26 | --- 1,6 ---- | |
27 | " Vim script language tests | |
28 | " Author: Servatius Brandt <Servatius.Brandt@fujitsu-siemens.com> | |
29 | ! " Last Change: 2004 Apr 03 | |
30 | ||
31 | "------------------------------------------------------------------------------- | |
32 | " Test environment {{{1 | |
33 | *************** | |
34 | *** 458,468 **** | |
35 | " resultfile in ExtraVimResult. Redirect messages to the file specified as | |
36 | " argument if any. Use ":debuggreedy" so that the commands provided on the | |
37 | " pipe are consumed at the debug prompt. Use "-N" to enable command-line | |
38 | ! " contiunation ("C" in 'cpo'). | |
39 | let redirect = a:0 ? | |
40 | \ " -c 'au VimLeave * redir END' -c 'redir\\! >" . a:1 . "'" : "" | |
41 | ! exec "!echo '" . debug_quits . "q' | ../vim -u NONE -N -e -s" . redirect . | |
42 | ! \ " -c 'debuggreedy'" . | |
43 | \ " -c 'let ExtraVimBegin = " . extra_begin . "'" . | |
44 | \ " -c 'let ExtraVimResult = \"" . resultfile . "\"'" . breakpoints . | |
45 | \ " -S " . extra_script | |
46 | --- 458,469 ---- | |
47 | " resultfile in ExtraVimResult. Redirect messages to the file specified as | |
48 | " argument if any. Use ":debuggreedy" so that the commands provided on the | |
49 | " pipe are consumed at the debug prompt. Use "-N" to enable command-line | |
50 | ! " contiunation ("C" in 'cpo'). Add "nviminfo" to 'viminfo' to avoid | |
51 | ! " messing up the user's viminfo file. | |
52 | let redirect = a:0 ? | |
53 | \ " -c 'au VimLeave * redir END' -c 'redir\\! >" . a:1 . "'" : "" | |
54 | ! exec "!echo '" . debug_quits . "q' | ../vim -u NONE -N -Xes" . redirect . | |
55 | ! \ " -c 'debuggreedy|set viminfo+=nviminfo'" . | |
56 | \ " -c 'let ExtraVimBegin = " . extra_begin . "'" . | |
57 | \ " -c 'let ExtraVimResult = \"" . resultfile . "\"'" . breakpoints . | |
58 | \ " -S " . extra_script | |
59 | *** ../vim-6.2.435/src/version.c Sat Apr 3 16:01:22 2004 | |
60 | --- src/version.c Sat Apr 3 16:30:13 2004 | |
61 | *************** | |
62 | *** 639,640 **** | |
63 | --- 639,642 ---- | |
64 | { /* Add new patch number below this line */ | |
65 | + /**/ | |
66 | + 436, | |
67 | /**/ | |
68 | ||
69 | -- | |
70 | If VIM were a woman, I'd marry her. Slim, organized, helpful | |
71 | and beautiful; what's not to like? --David A. Rogers | |
72 | ||
73 | /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ | |
74 | /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ | |
75 | \\\ Project leader for A-A-P -- http://www.A-A-P.org /// | |
76 | \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html /// |