aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_cd.vim
Commit message (Collapse)AuthorAge
* test: move oldtests to test directory (#22536)dundargoc2023-03-07
| | | | | The new oldtest directory is in test/old/testdir. The reason for this is that many tests have hardcoded the parent directory name to be 'testdir'.
* vim-patch:8.2.3737: test fails without the 'autochdir' option (#21529)zeertzjq2022-12-25
| | | | | | | | Problem: Test fails without the 'autochdir' option. Solution: Check that the option is available. (Dominique Pellé, closes vim/vim#9272) https://github.com/vim/vim/commit/8dea145e39a2569153cb63487d3403a46a882189 Co-authored-by: Dominique Pelle <dominique.pelle@gmail.com>
* vim-patch:partial:8.2.1183: assert_fails() checks the last error messagezeertzjq2022-11-05
| | | | | | | | | | | | | | | Problem: assert_fails() checks the last error message. Solution: Check the first error, it is more relevant. Fix all the tests that rely on the old behavior. https://github.com/vim/vim/commit/9b7bf9e98f06ece595fed7a3ff53ecce89797a53 Skip test_listener.vim, test_textprop.vim, test_viminfo.vim. Skip test_python2.vim: affected line fails and hasn't been ported. Skip test_python3.vim: affected lines fail and haven't been ported. Skip CHECK_LIST_MATERIALIZE. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.0976: some 'cpoptions' not testedzeertzjq2022-11-04
| | | | | | | Problem: Some 'cpoptions' not tested. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#6253) https://github.com/vim/vim/commit/df7df59d85e7e56a796912dc865488a75d3f0e53
* vim-patch:8.1.{1915,1921,1953} (#19900)zeertzjq2022-08-23
| | | | | | | | | | | | | | | | | | | | | | | | vim-patch:8.1.1915: more functions can be used as methods Problem: More functions can be used as methods. Solution: Make various functions usable as a method. https://github.com/vim/vim/commit/1a3a89168d61c2fed91cbca812cf1c6983901b79 Move debugbreak() to the right place. vim-patch:8.1.1921: more functions can be used as methods Problem: More functions can be used as methods. Solution: Make various functions usable as a method. https://github.com/vim/vim/commit/a4208966fb289a505ebdef62bbc37c214069bab4 vim-patch:8.1.1953: more functions can be used as a method Problem: More functions can be used as a method. Solution: Allow more functions to be used as a method. https://github.com/vim/vim/commit/f9f24ce7a0e5988fedf2e2ff751818f9b07510a6 Omit test_termcodes.vim: cannot be used and superseded by later patches. Cherry-pick test_bufline.vim change from patch 8.1.1993.
* vim-patch:8.2.0049: command line completion not fully testedzeertzjq2022-07-01
| | | | | | | Problem: Command line completion not fully tested. Solution: Add more test cases. Make help sorting stable. (Dominique Pelle, closes vim/vim#5402) https://github.com/vim/vim/commit/297610ba4b110c918ffe60c45eb4a1d6ea2daae5
* vim-patch:8.2.3933: after ":cd" fails ":cd -" is incorrectVVKot2022-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: After ":cd" fails ":cd -" is incorrect. Solution: Set the previous directory only after successfully changing directory. (Richard Doty, closes vim/vim#9419, closes vim/vim#8983) https://github.com/vim/vim/commit/3d0abad5bf4fe125e219f1b56c4e8200cb900e2a Adjust the test's error message check due to missing patch vim-patch:8.2.3973: tiny build fails Problem: Tiny build fails. Solution: Adjust #ifdefs https://github.com/vim/vim/commit/0f7a5e758c5d8be2d8f1ab4a145d1636a36d18b2 vim-patch:8.2.3978: build error when using dynamycally loaded Python 3 Problem: Build error when using dynamycally loaded Python 3. Solution: Adjust #ifdef. https://github.com/vim/vim/commit/6b1a99dfe33cf5a1d7f82febd81face85ac1b8a6 vim-patch:8.2.4013: build failure without the spell feature Problem: Build failure without the spell feature. Solution: Adjust #ifdefs. https://github.com/vim/vim/commit/e60b3c47d701e73ecbadb1b9a12bf82010cadae8 vim-patch:8.2.4032: ATTRIBUTE_NORETURN is not needed Problem: ATTRIBUTE_NORETURN is not needed. Solution: Use NORETURN(). (Ozaki Kiichi, closes vim/vim#9487) https://github.com/vim/vim/commit/e12406526a24768e6121450112eb2f9f92445ac5 vim-patch:8.2.4048: gcc complains about use of "%p" in printf Problem: gcc complains about use of "%p" in printf. Solution: Add (void *) typecast. (Dominique Pellé, closes vim/vim#9494) https://github.com/vim/vim/commit/c14f667626ba677a767d474324306e39096dc43e
* vim-patch:8.1.1925: more functions can be used as methodsSean Dewar2021-11-26
| | | | | | | | | | | | | | | | | | | | | | | | | | Problem: More functions can be used as methods. Solution: Make various functions usable as a method. https://github.com/vim/vim/commit/4c313b13fb7bfa694ec6d2a13175e8650c007b2a The rest of this patch was ported in https://github.com/neovim/neovim/commit/3137c7d63574a86ddc44f11c839e8e58c2994bf9 N/A patches for version.c: vim-patch:8.1.2012: more functions can be used as methods Problem: More functions can be used as methods. Solution: Make terminal functions usable as a method. Fix term_getattr(). https://github.com/vim/vim/commit/7ee80f766130f22598c928415c92ec612a8f18cf vim-patch:8.2.3576: some functions are not documented for use with a method Problem: Some functions are not documented for use with a method. Solution: Add examples. Fix that sign_unplacelist() only takes one argument. (Sean Dewar, closes vim/vim#9081) https://github.com/vim/vim/commit/a63780b9770699bf8fda93affeab2c728bc76912 Addressed in the port of v8.1.1995.
* vim-patch:8.2.3618: getcwd() is unclear about how 'autochdir' is usedzeertzjq2021-11-19
| | | | | | | Problem: getcwd() is unclear about how 'autochdir' is used. Solution: Update the help for getcwd(). Without any arguments always return the actual current directory. (closes vim/vim#9142) https://github.com/vim/vim/commit/851c7a699ae00bdc14a4db874cf722b7b7393b53
* vim-patch:8.2.3468: problem with :cd when editing file in non-existent directoryzeertzjq2021-11-19
| | | | | | | Problem: Problem with :cd when editing file in non-existent directory. (Yee Cheng Chin) Solution: Prepend the current directory to get the full path. (closes vim/vim#8903) https://github.com/vim/vim/commit/c6376c798433bcb9ee38a8664299d11454546950
* vim-patch:8.2.1411: when splitting a window localdir is copied but prevdir ↵zeertzjq2021-10-17
| | | | | | | | is not Problem: when splitting a window localdir is copied but prevdir is not. Solution: Also copy prevdir. (closes vim/vim#6667) https://github.com/vim/vim/commit/a9a47d157ab1946d1e286c9695bc68d71305af68
* vim-patch:8.2.0909: cannot go back to the previous local directoryzeertzjq2021-10-17
| | | | | | Problem: Cannot go back to the previous local directory. Solution: Add "tcd -" and "lcd -". (Yegappan Lakshmanan, closes vim/vim#4362) https://github.com/vim/vim/commit/002bc79991286934a9593b80635c27d4238cdfc4
* vim-patch:8.2.0876: :pwd does not give a hint about the scope of the directoryzeertzjq2021-10-17
| | | | | | Problem: :pwd does not give a hint about the scope of the directory Solution: Make ":verbose pwd" show the scope. (Takuya Fujiwara, closes vim/vim#5469) https://github.com/vim/vim/commit/950587242cad52d067a15f0f0c83528a28f75731
* vim-patch:8.2.0189: cd() with NULL argument crasheszeertzjq2021-10-17
| | | | | | Problem: cd() with NULL argument crashes. Solution: Check for NULL. (Ken Takata, closes vim/vim#5558) https://github.com/vim/vim/commit/7cc96923c44bbcc541cbd211b6308d87a965f0c3
* test: partially port Vim patches 8.1.2278 and 8.2.1432zeertzjq2021-10-17
|
* vim-patch:8.1.1291: not easy to change directory and restorezeertzjq2021-10-17
| | | | | | | | Problem: Not easy to change directory and restore. Solution: Add the chdir() function. (Yegappan Lakshmanan, closes vim/vim#4358) https://github.com/vim/vim/commit/1063f3d2008f22d02ccfa9dab83a23db52febbdc Also includes some documentation changes from patch 8.1.1218.
* vim-patch:8.2.3136: no test for E187 and "No swap file"Jan Edmund Lazo2021-07-31
| | | | | | Problem: No test for E187 and "No swap file". Solution: Add a test. (Dominique Pellé, closes vim/vim#8540) https://github.com/vim/vim/commit/fe3418abe0dac65e42e85b5a91c5d0c975bc65bb
* oldtest: windows: revert setting shellslash individually (#10189)Daniel Hahler2019-08-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert "oldtests: win: shellslash for cdpath,tags,:find" This reverts commit 6245b4873d5e24fade9aadadf32645bfb3ebfc31. * Revert "oldtests: set shellslash for ":cd" test" This reverts commit eba1ebafe554fcf6dcd8c933f53b43ca9c5b3b6a. * Revert "oldtests: set shellslash in Test_shellescape()" This reverts commit e428fc4b52d986fec0d544e371b05e8c7e18db93. * Revert "fixup! vim-patch:8.0.1782: no simple way to label quickfix entries" This reverts commit ac1fbc28601a05cdca19f868449c86b8dd70328c. * Revert "test/old: pass Test_statusline on Windows" This reverts commit 6efa3bff09afb0e54ad71278ac60259bf41be286. * Revert "oldtests: set shellslash for Test_non_zero_arg" This reverts commit 42e1e2495cc51f659d505bfec8b72905c19e4094. * Revert "oldtests: set shellslash in Test_true_false_arg()" This reverts commit 8bd194f98aaf8d79886b78f4bd29f9525c1459c8. * Remove unnecessary set shellslash Since #10679 no longer requires individual set shellslash, it is removed. Co-Authored-By: erw7 <erw7.github@gmail.com>
* oldtests: set shellslash for ":cd" testJan Edmund Lazo2019-04-05
|
* oldtests: comment out test for 'set cpo+=.'Jan Edmund Lazo2018-08-26
| | | | nvim does not support POSIX cpoptions.
* vim-patch:8.1.0144: the :cd command does not have good test coverageJan Edmund Lazo2018-08-26
| | | | | | Problem: The :cd command does not have good test coverage. Solution: Add more tests. (Dominique Pelle, closes vim/vim#2972) https://github.com/vim/vim/commit/b2e0c94a4d27e3e6222d26f13e0418a85cab21a2
* vim-patch:8.0.0493: crash with cd command with very long argumentJan Edmund Lazo2018-07-22
Problem: Crash with cd command with very long argument. Solution: Check for running out of space. (Dominique Pellé, closes vim/vim#1576) https://github.com/vim/vim/commit/15618fa643867cf0d9c31f327022a22dff78a0cf