neovim/test/functional/legacy
Justin M. Keyes 9642903dea
test: Improve 008_autocommands_spec reliability (#9129)
Sometimes 008_autocommands_spec fails like this:

    [ RUN      ] autocommands that delete and unload buffers: BufUnload, VimLeave: -- Output to stderr:
    CMake Error at /home/travis/build/neovim/neovim/cmake/RunTests.cmake:53 (message):
      functional tests failed with error: 1

The final :quit + wait() is a race. Use command() instead, which is
synchronous.  Use command('silent! ...') everywhere else too, because
it's clearer instead of feeding input and clearing the expected errors
with CTRL-L.
2018-10-17 09:24:45 +02:00
..
002_filename_recognition_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
003_cindent_spec.lua vim-patch:8.0.1291: C indent wrong when * immediately follows comment 2018-08-20 00:05:12 -04:00
004_bufenter_with_modelines_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
005_bufleave_delete_buffer_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
006_argument_list_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
007_ball_buffer_list_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
008_autocommands_spec.lua test: Improve 008_autocommands_spec reliability (#9129) 2018-10-17 09:24:45 +02:00
011_autocommands_spec.lua win: test: disable non-admin failing tests 2018-05-24 22:11:12 -04:00
012_directory_spec.lua functests: Refactor legacy/012_directory_spec 2017-04-08 21:58:13 +03:00
015_alignment_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
018_unset_smart_indenting_spec.lua functests: Refactor legacy/018_unset_smart_indenting_spec 2017-04-08 22:02:44 +03:00
019_smarttab_expandtab_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
020_blockwise_visual_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
021_control_wi_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
022_line_ending_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
023_edit_arguments_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
025_jump_tag_hidden_spec.lua win: enable legacy test 025 2018-02-19 07:10:41 -05:00
026_execute_while_if_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
028_source_ctrl_v_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
029_join_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
030_fileformats_spec.lua win: enable legacy test 30 2018-02-19 07:10:43 -05:00
031_close_commands_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
033_lisp_indent_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
034_user_function_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
035_increment_and_decrement_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
036_regexp_character_classes_spec.lua regexp_nfa: Fix invalid fallthrough in character class detection 2017-05-12 17:07:25 -04:00
038_virtual_replace_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
039_visual_block_mode_commands_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
041_writing_and_reading_hundred_kbyte_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
043_magic_settings_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
044_099_regexp_multibyte_magic_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
045_folding_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
046_multi_line_regexps_spec.lua functests: Check logs in lua code 2016-06-10 21:50:49 +03:00
051_highlight_spec.lua win: enable legacy test 051 2018-02-19 07:10:44 -05:00
054_buffer_local_autocommands_spec.lua functests: Refactor legacy/054_buffer_local_autocommands_spec 2017-04-08 22:33:02 +03:00
055_list_and_dict_types_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
056_script_local_function_spec.lua functests: Check logs in lua code 2016-06-10 21:50:49 +03:00
057_sort_spec.lua functests: Fix linter errors 2017-04-09 03:31:13 +03:00
059_utf8_spell_checking_spec.lua win: enable legacy test 059 2018-02-19 07:10:44 -05:00
060_exists_and_has_functions_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
061_undo_tree_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
062_tab_pages_spec.lua functests: Fix legacy/062_tab_pages_spec 2017-04-09 03:24:10 +03:00
063_match_and_matchadd_spec.lua *: Fix test failures 2017-12-11 01:43:36 +03:00
065_float_and_logic_operators_spec.lua functests: Fix linter errors 2017-04-09 03:31:13 +03:00
066_visual_block_tab_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
067_augroup_exists_spec.lua functests: Fix legacy/067_augroup_exists_spec 2017-04-09 03:24:15 +03:00
068_text_formatting_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
069_multibyte_formatting_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
072_undo_file_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
074_global_var_in_viminfo_spec.lua functests: Fix legacy/074_global_var_in_viminfo_spec 2017-04-09 03:24:13 +03:00
075_maparg_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
077_mf_hash_grow_spec.lua build/msvc: Fix check for cksum on Windows 2018-03-26 10:54:44 -05:00
078_swapfile_recover_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
080_substitute_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
081_coptions_movement_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
082_string_comparison_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
083_tag_search_with_file_encoding_spec.lua functests: Check logs in lua code 2016-06-10 21:50:49 +03:00
084_curswant_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
088_conceal_tabs_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
090_sha256_spec.lua functests: Check logs in lua code 2016-06-10 21:50:49 +03:00
091_context_variables_spec.lua buffer: Bind b:changedtick to b:['changedtick'], remove special cases 2017-02-23 19:46:44 +03:00
092_mksession_cursor_cols_utf8_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
093_mksession_cursor_cols_latin1_spec.lua win: enable legacy test 093 2018-02-19 07:10:43 -05:00
094_visual_mode_operators_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
095_regexp_multibyte_spec.lua functests: Check logs in lua code 2016-06-10 21:50:49 +03:00
096_location_list_spec.lua test: robust cleanup, unique filenames #7950 (#7950) 2018-02-01 03:12:37 +01:00
097_glob_path_spec.lua win: test: delete sautest/ 2018-05-24 22:11:15 -04:00
098_scrollbind_spec.lua functests: Check logs in lua code 2016-06-10 21:50:49 +03:00
101_hlsearch_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
102_fnameescape_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
103_visual_mode_reset_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
104_let_assignment_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
106_errorformat_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
107_adjust_window_and_contents_spec.lua win: enable legacy test 107 2018-02-19 07:10:44 -05:00
108_backtrace_debug_commands_spec.lua defaults: shortmess+=F (#8619) 2018-06-22 08:18:02 +02:00
arglist_spec.lua win: enable legacy/arglist_spec.lua 2018-02-19 07:10:43 -05:00
assert_spec.lua vim-patch:8.0.0254: error message of assert functions (#8488) 2018-06-07 09:59:45 +02:00
autochdir_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
autocmd_option_spec.lua functests: Fix legacy/autocmd_option_spec 2017-04-09 03:24:19 +03:00
autoformat_join_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
backspace_opt_spec.lua functests: Check logs in lua code 2016-06-10 21:50:49 +03:00
breakindent_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
cdo_spec.lua functests: Check logs in lua code 2016-06-10 21:50:49 +03:00
changelist_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
charsearch_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
close_count_spec.lua functests: Fix legacy/close_count_spec 2017-04-09 03:24:20 +03:00
command_count_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
comparators_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
delete_spec.lua fixup: always delete Xfile, fix exit code check 2018-05-25 07:43:02 -04:00
edit_spec.lua test: port Test_edit_08() to Lua test 2018-02-11 19:03:27 +01:00
erasebackword_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
eval_spec.lua test: Fix and add cases for unnamed register 2017-05-31 13:31:05 -04:00
expand_spec.lua vim-patch:7.4.1111 (#5004) 2016-07-06 09:13:48 -04:00
file_perm_spec.lua API: return non-generic VimL errors 2018-05-09 23:18:38 +02:00
fixeol_spec.lua test: enable legacy/fixeol_spec in Windows 2018-02-19 07:10:45 -05:00
fnamemodify_spec.lua test: osx: try resolve($TMPDIR) 2018-01-28 13:58:56 -05:00
function_sort_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
getcwd_spec.lua win: enable legacy/getcwd_spec.lua 2018-02-19 07:10:43 -05:00
glob2regpat_spec.lua functests: Fix linter errors 2017-04-09 03:31:13 +03:00
increment_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
insertcount_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
join_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
lispwords_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
listchars_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
listlbr_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
listlbr_utf8_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
mapping_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
marks_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
nested_function_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
options_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
packadd_spec.lua oldtests: finish port of 8.0.1224 2018-08-15 01:27:30 -04:00
qf_title_spec.lua functests: Check logs in lua code 2016-06-10 21:50:49 +03:00
search_mbyte_spec.lua functests: Fix linter errors 2017-04-09 03:31:13 +03:00
search_spec.lua tests: improve robustness of immediate successes in screen tests 2018-10-15 20:13:11 +02:00
searchpos_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
set_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
signs_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
tagcase_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
textobjects_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00
undolevels_spec.lua vim-patch:7.4.1740 2016-09-22 01:46:30 +07:00
utf8_spec.lua test: lint whitespace in legacy/ (#7308) 2017-09-24 20:42:48 +02:00
wordcount_spec.lua win: enable legacy/wordcount_spec.lua 2018-02-19 07:10:43 -05:00
writefile_spec.lua functests: Replace execute with either command or feed_command 2017-04-09 03:24:08 +03:00