| Commit message (Collapse) | Author | Age |
| |
|
|
|
| |
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'.
|
| |
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
|
| |
Problem: Tests switch the bell off twice.
Solution: Don't set 'belloff' in individual tests. (Christian Brabandt)
https://github.com/vim/vim/commit/67418d97b457d2e27fe342472d3c9fd342ffc47f
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Problem: test_recover fails on some systems.
Solution: Explicitly check if "/" is writable. (Ken Takata)
https://github.com/vim/vim/commit/2a0b06def49198aef45ef173f524a638a700f9c9
|
| |
|
|
|
|
|
| |
Problem: :recover test fails on MS-Windows.
Solution: Use non-existing directory on MS-Windows.
https://github.com/vim/vim/commit/803452046ba6cda7a2896626572eb78b2358c965
|
|
|
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
|