annotate src/testdir/test_alot.vim @ 16815:6fdb0ae0cac3 v8.1.1409

patch 8.1.1409: Coverity warns for using uninitialized memory commit https://github.com/vim/vim/commit/b43683729b64f83c39840524be232388314bd71f Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 27 20:01:41 2019 +0200 patch 8.1.1409: Coverity warns for using uninitialized memory Problem: Coverity warns for using uninitialized memory. Solution: Add a condition to clearing the growarray.
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 May 2019 20:15:05 +0200
parents 54ffc82f38a8
children c945f1d03b1c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7291
6ffc75d807bd commit https://github.com/vim/vim/commit/b00da1d6d1655cb6e415f84ecc3be5ff3b790811
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
1 " A series of tests that can run in one Vim invocation.
6ffc75d807bd commit https://github.com/vim/vim/commit/b00da1d6d1655cb6e415f84ecc3be5ff3b790811
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
2 " This makes testing go faster, since Vim doesn't need to restart.
6ffc75d807bd commit https://github.com/vim/vim/commit/b00da1d6d1655cb6e415f84ecc3be5ff3b790811
Christian Brabandt <cb@256bit.org>
parents:
diff changeset
3
8512
5104f96b6ecf commit https://github.com/vim/vim/commit/f6f32c38bf3319144a84a01a154c8c91939e7acf
Christian Brabandt <cb@256bit.org>
parents: 8485
diff changeset
4 source test_assign.vim
14475
dddba3937532 patch 8.1.0251: using full path is not supported for 'backupdir'
Christian Brabandt <cb@256bit.org>
parents: 14381
diff changeset
5 source test_backup.vim
14754
d4db9adc8642 patch 8.1.0389: :behave command is not tested
Christian Brabandt <cb@256bit.org>
parents: 14700
diff changeset
6 source test_behave.vim
12319
c7e95667d14b patch 8.0.1039: cannot change a line in not current buffer
Christian Brabandt <cb@256bit.org>
parents: 12164
diff changeset
7 source test_bufline.vim
11213
290f5f6a2bac patch 8.0.0493: crash with cd command with very long argument
Christian Brabandt <cb@256bit.org>
parents: 11197
diff changeset
8 source test_cd.vim
10889
5780bd3a5a7e patch 8.0.0334: can't access b:changedtick from a dict reference
Christian Brabandt <cb@256bit.org>
parents: 10799
diff changeset
9 source test_changedtick.vim
13970
939cfab265b9 patch 8.1.0003: the :compiler command is not tested
Christian Brabandt <cb@256bit.org>
parents: 12718
diff changeset
10 source test_compiler.vim
7586
9fc996244059 commit https://github.com/vim/vim/commit/24c4d539eed33e8073f8f9fe2bee497bbba935a4
Christian Brabandt <cb@256bit.org>
parents: 7498
diff changeset
11 source test_cursor_func.vim
7615
228ff048db20 commit https://github.com/vim/vim/commit/da440d21a6b94d7f525fa7be9b1417c78dd9aa4c
Christian Brabandt <cb@256bit.org>
parents: 7586
diff changeset
12 source test_delete.vim
15619
a4882149b661 patch 8.1.0817: ":=" command is not tested
Bram Moolenaar <Bram@vim.org>
parents: 15010
diff changeset
13 source test_ex_equal.vim
10889
5780bd3a5a7e patch 8.0.0334: can't access b:changedtick from a dict reference
Christian Brabandt <cb@256bit.org>
parents: 10799
diff changeset
14 source test_ex_undo.vim
11303
ef32a5c74515 patch 8.0.0537: illegal memory access with :z and large count
Christian Brabandt <cb@256bit.org>
parents: 11273
diff changeset
15 source test_ex_z.vim
9454
9da0cb39cbee commit https://github.com/vim/vim/commit/79815f1ec77406f2f21a618c053e5793b597db7a
Christian Brabandt <cb@256bit.org>
parents: 9430
diff changeset
16 source test_execute_func.vim
9430
e70fd2eb3ae1 commit https://github.com/vim/vim/commit/1e5e1231ac9e1ba9678812c96f9d554a078eeec4
Christian Brabandt <cb@256bit.org>
parents: 9422
diff changeset
17 source test_expand.vim
11303
ef32a5c74515 patch 8.0.0537: illegal memory access with :z and large count
Christian Brabandt <cb@256bit.org>
parents: 11273
diff changeset
18 source test_expand_dllpath.vim
14700
0a3b9ecf7cb8 patch 8.1.0362: cannot get the script line number when executing a function
Christian Brabandt <cb@256bit.org>
parents: 14475
diff changeset
19 source test_expand_func.vim
8635
3a38d465f731 commit https://github.com/vim/vim/commit/f0e86a0dbddc18568910e9e4aaae0cd88ca8087a
Christian Brabandt <cb@256bit.org>
parents: 8577
diff changeset
20 source test_expr.vim
8485
675ec6cc9021 commit https://github.com/vim/vim/commit/74c5bbf13435a7ab1e3461078bbcb1200f0451e1
Christian Brabandt <cb@256bit.org>
parents: 8451
diff changeset
21 source test_feedkeys.vim
8451
c0b5c2b0a5ee commit https://github.com/vim/vim/commit/8049253b96838b3584600e5ad229abad37a95b10
Christian Brabandt <cb@256bit.org>
parents: 8445
diff changeset
22 source test_file_perm.vim
10268
c55a7232fb48 commit https://github.com/vim/vim/commit/e8ef3a093453b73594e15462d4de50b011c8ba66
Christian Brabandt <cb@256bit.org>
parents: 10242
diff changeset
23 source test_fileformat.vim
11459
561b76ed9d12 patch 8.0.0613: the conf filetype is used before ftdetect from packages
Christian Brabandt <cb@256bit.org>
parents: 11303
diff changeset
24 source test_filetype.vim
9941
e975914c17e9 commit https://github.com/vim/vim/commit/7b668e83d0635d082b7ec90d7d2aa30a9d7d8928
Christian Brabandt <cb@256bit.org>
parents: 9913
diff changeset
25 source test_filter_cmd.vim
9416
cbf052ccb120 commit https://github.com/vim/vim/commit/b33c7eb5b813cb631b2b0ca5c4029e1788a09bde
Christian Brabandt <cb@256bit.org>
parents: 9377
diff changeset
26 source test_filter_map.vim
10940
a479b7064550 patch 8.0.0359: 'number' and 'relativenumber' are not properly tested
Christian Brabandt <cb@256bit.org>
parents: 10896
diff changeset
27 source test_findfile.vim
10532
80b50e43e382 commit https://github.com/vim/vim/commit/453b576ee5d32e9b8e6876712748ae01f9be68dd
Christian Brabandt <cb@256bit.org>
parents: 10268
diff changeset
28 source test_float_func.vim
10268
c55a7232fb48 commit https://github.com/vim/vim/commit/e8ef3a093453b73594e15462d4de50b011c8ba66
Christian Brabandt <cb@256bit.org>
parents: 10242
diff changeset
29 source test_fnamemodify.vim
10555
fff45421182b patch 8.0.0167: str2nr()/str2float() fail with negative values
Christian Brabandt <cb@256bit.org>
parents: 10532
diff changeset
30 source test_functions.vim
11273
96d83cd2904a patch 8.0.0522: Win32: when 'clipboard' is "unnamed" yyp does not work
Christian Brabandt <cb@256bit.org>
parents: 11225
diff changeset
31 source test_ga.vim
7765
9c0d554a497e commit https://github.com/vim/vim/commit/7465c6375fd60eab603681bcad8a8744ddc31614
Christian Brabandt <cb@256bit.org>
parents: 7712
diff changeset
32 source test_glob2regpat.vim
11273
96d83cd2904a patch 8.0.0522: Win32: when 'clipboard' is "unnamed" yyp does not work
Christian Brabandt <cb@256bit.org>
parents: 11225
diff changeset
33 source test_global.vim
8923
face93b02af4 commit https://github.com/vim/vim/commit/1538fc34fae3fae39773ca43f6ff52401fce61d8
Christian Brabandt <cb@256bit.org>
parents: 8897
diff changeset
34 source test_goto.vim
8562
40b982c98587 commit https://github.com/vim/vim/commit/8e15ffcde757ffc6cfe8b5e384948b3278e9af33
Christian Brabandt <cb@256bit.org>
parents: 8538
diff changeset
35 source test_help_tagjump.vim
8445
dd2e2bd69d0e commit https://github.com/vim/vim/commit/41e0f2f48f541eb2c8eb5620d3f1d270eb979154
Christian Brabandt <cb@256bit.org>
parents: 8316
diff changeset
36 source test_join.vim
9377
5ec4fbfe38c5 commit https://github.com/vim/vim/commit/70e136e1d86ea1d795774824c7b712245912946d
Christian Brabandt <cb@256bit.org>
parents: 9359
diff changeset
37 source test_jumps.vim
9527
e8b3db8e2d30 commit https://github.com/vim/vim/commit/069c1e7fa9f45a665064f7f2c17da84d6a48f544
Christian Brabandt <cb@256bit.org>
parents: 9454
diff changeset
38 source test_lambda.vim
7293
979f8a595326 commit https://github.com/vim/vim/commit/6cd1345307440491580e5e86cb82c54ee9a46baa
Christian Brabandt <cb@256bit.org>
parents: 7291
diff changeset
39 source test_lispwords.vim
11303
ef32a5c74515 patch 8.0.0537: illegal memory access with :z and large count
Christian Brabandt <cb@256bit.org>
parents: 11273
diff changeset
40 source test_mapping.vim
9776
2409d7038822 commit https://github.com/vim/vim/commit/d76a0c15f8bdbc901015879177fd5076d34c7a06
Christian Brabandt <cb@256bit.org>
parents: 9674
diff changeset
41 source test_match.vim
7488
6f14d7da2d8a commit https://github.com/vim/vim/commit/2d6c8002729821acc54a4de41d5c5f3d50594973
Christian Brabandt <cb@256bit.org>
parents: 7462
diff changeset
42 source test_menu.vim
8897
a410390e340b commit https://github.com/vim/vim/commit/451f849fd6282a4facd4f0f58af62837443fb5a6
Christian Brabandt <cb@256bit.org>
parents: 8872
diff changeset
43 source test_messages.vim
14381
d9e6eec551e1 patch 8.1.0205: invalid memory access with invalid modeline
Christian Brabandt <cb@256bit.org>
parents: 13970
diff changeset
44 source test_modeline.vim
15010
e3910b9827d0 patch 8.1.0516: :move command marks buffer modified when nothing changed
Bram Moolenaar <Bram@vim.org>
parents: 14832
diff changeset
45 source test_move.vim
8538
c337c813c64d commit https://github.com/vim/vim/commit/1735bc988c546cc962c5f94792815b4d7cb79710
Christian Brabandt <cb@256bit.org>
parents: 8514
diff changeset
46 source test_partial.vim
9359
35b173e37dc6 commit https://github.com/vim/vim/commit/00672e1d3f59dbff91a18d418b2984be96f89ee5
Christian Brabandt <cb@256bit.org>
parents: 9102
diff changeset
47 source test_popup.vim
10664
94db9c08e206 patch 8.0.0222: blockwise put on multi-byte character misplaced
Christian Brabandt <cb@256bit.org>
parents: 10577
diff changeset
48 source test_put.vim
10896
d513b653f5d0 patch 8.0.0337: invalid memory access in :recover command
Christian Brabandt <cb@256bit.org>
parents: 10889
diff changeset
49 source test_recover.vim
7979
22367b9f528a commit https://github.com/vim/vim/commit/79c2c881bb7ae1cbdeeff91d4875b4bf2e54df06
Christian Brabandt <cb@256bit.org>
parents: 7765
diff changeset
50 source test_reltime.vim
15961
4024dbfd3099 patch 8.1.0986: rename() is not propertly tested
Bram Moolenaar <Bram@vim.org>
parents: 15838
diff changeset
51 source test_rename.vim
12718
f8f505ffc0a6 patch 8.0.1237: ":set scroll&" often gives an error
Christian Brabandt <cb@256bit.org>
parents: 12644
diff changeset
52 source test_scroll_opt.vim
7358
6fbeef3b65e6 commit https://github.com/vim/vim/commit/ad4d8a192abf44b89371af87d70b971cd654b799
Christian Brabandt <cb@256bit.org>
parents: 7293
diff changeset
53 source test_searchpos.vim
7426
779a7c14c795 commit https://github.com/vim/vim/commit/8f79acdf7ede2693fbda53c3c9693f16db4f193b
Christian Brabandt <cb@256bit.org>
parents: 7358
diff changeset
54 source test_set.vim
7293
979f8a595326 commit https://github.com/vim/vim/commit/6cd1345307440491580e5e86cb82c54ee9a46baa
Christian Brabandt <cb@256bit.org>
parents: 7291
diff changeset
55 source test_sort.vim
11633
3e2ee43a3c7b patch 8.0.0699: checksum tests are not actually run
Christian Brabandt <cb@256bit.org>
parents: 11459
diff changeset
56 source test_sha256.vim
8847
470ea7526cc6 commit https://github.com/vim/vim/commit/a742e084b677f76c67e9e52c4f9fb9ab24002e20
Christian Brabandt <cb@256bit.org>
parents: 8793
diff changeset
57 source test_statusline.vim
14832
d6752747348a patch 8.1.0428: the :suspend command is not tested
Christian Brabandt <cb@256bit.org>
parents: 14754
diff changeset
58 source test_suspend.vim
8514
260d01c1cd17 commit https://github.com/vim/vim/commit/385111bd86e0b38667879c3e89506ca1ae98e1df
Christian Brabandt <cb@256bit.org>
parents: 8512
diff changeset
59 source test_syn_attr.vim
8872
4d4de770f970 commit https://github.com/vim/vim/commit/f73d3bc253fa79ad220f52f04b93e782e95a9d43
Christian Brabandt <cb@256bit.org>
parents: 8847
diff changeset
60 source test_tabline.vim
9906
1ed0cab95f9a commit https://github.com/vim/vim/commit/1381d791478ee77c8368b89a3d4954316bf839b5
Christian Brabandt <cb@256bit.org>
parents: 9867
diff changeset
61 source test_tabpage.vim
9913
bb00c661b3a4 commit https://github.com/vim/vim/commit/66e29d7112e437b2b50efe1f82c7e892736d23e4
Christian Brabandt <cb@256bit.org>
parents: 9906
diff changeset
62 source test_tagcase.vim
16447
54ffc82f38a8 patch 8.1.1228: not possible to process tags with a function
Bram Moolenaar <Bram@vim.org>
parents: 15961
diff changeset
63 source test_tagfunc.vim
8930
a2aca019ba48 commit https://github.com/vim/vim/commit/def5abe0a2727041ecee69afdccfca405333bd24
Christian Brabandt <cb@256bit.org>
parents: 8923
diff changeset
64 source test_tagjump.vim
11225
d3415ec1cdaf patch 8.0.0499: taglist() does not prioritize tags for a buffer
Christian Brabandt <cb@256bit.org>
parents: 11213
diff changeset
65 source test_taglist.vim
8577
63dc856bd13d commit https://github.com/vim/vim/commit/975b5271eed4fa0500c24a8f37be0b1797cb9db7
Christian Brabandt <cb@256bit.org>
parents: 8568
diff changeset
66 source test_timers.vim
9422
f93704b11e43 commit https://github.com/vim/vim/commit/e381d3d5e098546854b008e01ca1d28ba1a4a057
Christian Brabandt <cb@256bit.org>
parents: 9416
diff changeset
67 source test_true_false.vim
7498
3fcd3d235f7b commit https://github.com/vim/vim/commit/af8af8bfac5792fa64efbc524032d568cc7754f7
Christian Brabandt <cb@256bit.org>
parents: 7488
diff changeset
68 source test_unlet.vim
12164
5d82470552ce patch 8.0.0962: crash with virtualedit and joining lines
Christian Brabandt <cb@256bit.org>
parents: 11633
diff changeset
69 source test_virtualedit.vim
9102
0e90f3e13d88 commit https://github.com/vim/vim/commit/991dea3ab185fb35e577ab0bdfd443cd4b43ccc6
Christian Brabandt <cb@256bit.org>
parents: 8941
diff changeset
70 source test_window_cmd.vim
15838
de068e9acd8e patch 8.1.0926: no test for :wnext, :wNext and :wprevious
Bram Moolenaar <Bram@vim.org>
parents: 15619
diff changeset
71 source test_wnext.vim