aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_recover.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:9.0.0895: file renamed twice in test, missing feature checkzeertzjq2022-11-17
| | | | | | | | | | Problem: File renamed twice in test; missing feature check. Solution: Remove a rename() call. Add check for cryptv feature. (closes vim/vim#11564) https://github.com/vim/vim/commit/780154bf7a07813e474105837c2b5998009d9c71 Co-authored-by: zeertzjq <zeertzjq@outlook.com>
* vim-patch:8.2.3498: recover test may fail on some systemszeertzjq2022-11-17
| | | | | | | | | | Problem: Recover test may fail on some systems. Solution: Adjust the little endian and 64 bit detection. (James McCoy, closes vim/vim#8941) https://github.com/vim/vim/commit/37f341d7236ff8a1e886bbb0f0ba0700ad589373 Co-authored-by: James McCoy <jamessan@jamessan.com>
* vim-patch:8.2.3440: recover test fails if there is an old swap filezeertzjq2022-11-17
| | | | | | | | | Problem: Recover test fails if there is an old swap file. Solution: Delete old swap files. https://github.com/vim/vim/commit/f2a8bafa4b815e5b4e50a25c2b3a8a24fbe8aa11 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.3080: recover test fails on 32bit systemszeertzjq2022-11-17
| | | | | | | | | | Problem: Recover test fails on 32bit systems. (Ondřej Súkup) Solution: Detect 32/64 bit systems. (Yegappan Lakshmanan, closes vim/vim#8485, closes vim/vim#8479) https://github.com/vim/vim/commit/576cb75ceb38ed077938d4a1c1265095050f6105 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* vim-patch:8.2.2981: recovery test is not run on big-endian systemszeertzjq2022-11-17
| | | | | | | | | Problem: Recovery test is not run on big-endian systems. Solution: Make it work on big-endian systems. (James McCoy, closes vim/vim#8368) https://github.com/vim/vim/commit/6654ca702ca64c99965efcad3243ea5f95473252 Co-authored-by: James McCoy <jamessan@jamessan.com>
* vim-patch:8.2.2973: fix for recovery and diff mode not testedzeertzjq2022-11-17
| | | | | | | | | Problem: Fix for recovery and diff mode not tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#8352) https://github.com/vim/vim/commit/3044324e8dccd470bd854cf7d9457232cc9c220e Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* vim-patch:8.2.2960: swap file recovery not sufficiently testedzeertzjq2022-11-17
| | | | | | | | | Problem: Swap file recovery not sufficiently tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#8339) https://github.com/vim/vim/commit/8cf02e5cf8fb14a5009f12e7af0a47617a0ce88d Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* vim-patch:8.2.2952: recover test fails on big endian systemszeertzjq2022-11-17
| | | | | | | | | | Problem: Recover test fails on big endian systems. Solution: Disable the failing test on big endian systems. (Yegappan Lakshmanan, closes vim/vim#8335) https://github.com/vim/vim/commit/99285550a9957e2c8669f183557944c6513c4875 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* vim-patch:8.2.2945: some buffer related code is not testedzeertzjq2022-11-17
| | | | | | | | | Problem: Some buffer related code is not tested. Solution: Add a few more tests. (Yegappan Lakshmanan, closes vim/vim#8320) https://github.com/vim/vim/commit/59b262362f26b3aaea1eeb0078adc33eed59863e Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
* vim-patch:8.2.2589: recover test hangs in the GUIzeertzjq2022-11-17
| | | | | | | | | | | Problem: Recover test hangs in the GUI. Solution: Add g:skipped_reason to skip a _nocatch_ test. https://github.com/vim/vim/commit/776b954622b45125dfdcb4a61243ca90956b0825 Now always skip the test as test_override() is N/A. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.2587: recover test fails on FreeBSDzeertzjq2022-11-17
| | | | | | | | | Problem: Recover test fails on FreeBSD. Solution: Check for Linux. https://github.com/vim/vim/commit/6635ae1437e6e343c0514524a8dfb19d9525b908 Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.2.2586: process id may be invalidzeertzjq2022-11-17
| | | | | | | | | | | | Problem: Process id may be invalid. Solution: Use sysinfo.uptime to check for recent reboot. (suggested by Hugo van der Sanden, closes vim/vim#7947) https://github.com/vim/vim/commit/f52f0606ed9ea19bcfc3a8343af9958f2d99eaf7 test_override() is N/A. Co-authored-by: Bram Moolenaar <Bram@vim.org>
* vim-patch:8.1.2180: Error E303 is not useful when 'directory' is empty (#11257)Daniel Hahler2019-10-19
| | | | | Problem: Error E303 is not useful when 'directory' is empty. Solution: Skip the error message. (Daniel Hahler, vim/vim#5067) https://github.com/vim/vim/commit/00e192becd50a38cb21a1bc3f86fcc7a21f8ee88
* test/old: pass Test_recover_root_dir on Windows (#10207)Jan Edmund Lazo2019-07-01
| | | | | | | | | | | | | * Revert "oldtests: win: keep set dir=/" This reverts commit 714e0f8bf05cc6febcbcd8cbcbe5f119c37a14b0. * test/old: set swap directory to non-existent drive Appveyor uses Administrator user so it can write anywhere in C:\\. Neovim creates a directory for the swap file if the directory does not exist. D:\\ is the backup/recovery drive so use F:\\ invoke error E303.
* oldtests: win: keep set dir=/Jan Edmund Lazo2018-04-12
| | | | | | | Any user can create a directory on root. Creating a directory on root allows any user to write files within that directory. Test_recover_root_dir() passes when run locally as a regular user (not admin).
* vim-patch:8.0.1200: tests switch the bell off twiceJustin M. Keyes2018-02-11
| | | | | | | Problem: Tests switch the bell off twice. Solution: Don't set 'belloff' in individual tests. (Christian Brabandt) https://github.com/vim/vim/commit/67418d97b457d2e27fe342472d3c9fd342ffc47f
* vim-patch:8.0.1186: still quite a few old style testsJustin M. Keyes2018-02-11
| | | | | | | Problem: Still quite a few old style tests. Solution: Convert old to new style tests. (Yegappan Lakshmanan) Avoid ringing the bell while running tests. https://github.com/vim/vim/commit/4a6fcf8047de13c7949ab2f27f7774acaec4ae4d
* vim-patch:8.0.0600: test_recover fails on some systemsJustin M. Keyes2018-02-11
| | | | | | | Problem: test_recover fails on some systems. Solution: Explicitly check if "/" is writable. (Ken Takata) https://github.com/vim/vim/commit/2a0b06def49198aef45ef173f524a638a700f9c9
* vim-patch:8.0.0338: :recover test fails on MS-WindowsJustin M. Keyes2018-02-11
| | | | | | | Problem: :recover test fails on MS-Windows. Solution: Use non-existing directory on MS-Windows. https://github.com/vim/vim/commit/803452046ba6cda7a2896626572eb78b2358c965
* vim-patch:8.0.0337: invalid memory access in :recover commandJustin M. Keyes2018-02-11
Problem: Invalid memory access in :recover command. Solution: Avoid access before directory name. (Dominique Pelle, closes vim/vim#1488) https://github.com/vim/vim/commit/c525e3a1c20f6b5d9809c8b84f80090a8e416c92