aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_writefile.vim
Commit message (Collapse)AuthorAge
* vim-patch:8.1.2187: error for bad regexp even though regexp is not usedJan Edmund Lazo2020-02-16
| | | | | | | Problem: Error for bad regexp even though regexp is not used when writing a file. (Arseny Nasokin) Solution: Ignore regexp errors. (closes vim/vim#5059) https://github.com/vim/vim/commit/b40c2576d4e0e2dd2c580414c45947d88556d76d
* vim-patch:8.1.0811: too many #ifdefsDaniel Hahler2019-08-22
| | | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, the final chapter. https://github.com/vim/vim/commit/30276f2beb248557c6b33cd5418bca8b7084b0a5
* vim-patch:8.1.0347: some tests fail on SolarisJan Edmund Lazo2019-06-23
| | | | | | | Problem: Some tests fail on Solaris. Solution: Skip writefile test. Fix path to libc.so. Improve test for Turkish case change. (Libor Bukata, Bjorn Linse, closes vim/vim#3403) https://github.com/vim/vim/commit/f1c118be93184e8e57e3e80b1b3383f464ed649e
* vim-patch:8.0.1305: writefile() never calls fsync() #10153Jan Edmund Lazo2019-06-09
| | | | | Problem: Writefile() never calls fsync(). Solution: Follow the 'fsync' option with override to enable or disable. https://github.com/vim/vim/commit/7567d0b115e332f61a9f390aaccdf7825b891227
* Test_writefile_sync_dev_stdout: use s for sync explicitlyDaniel Hahler2019-06-08
|
* vim-patch:9980b37a80Daniel Hahler2019-06-08
| | | | | | | | patch 8.0.1744: on some systems /dev/stdout isn't writable Problem: On some systems /dev/stdout isn't writable. Solution: Skip test if writing is not possible. (James McCoy, closes vim/vim#2830) https://github.com/vim/vim/commit/9980b37a80dc72eef05bf8862aaf475ab17790a5
* vim-patch:83799a7b7Daniel Hahler2019-06-08
| | | | | | | | patch 8.0.1339: no test for what 8.0.1335 fixes Problem: No test for what 8.0.1335 fixes. Solution: Add a test. (Yasuhiro Matsumoto, closes vim/vim#2373) https://github.com/vim/vim/commit/83799a7b7414048df4ff4e507293416e8438e225
* vim-patch:8.1.1436: writefile test fails when run under /tmpJan Edmund Lazo2019-06-01
| | | | | | Problem: Writefile test fails when run under /tmp. Solution: Adjust 'backupskip. (Kenta Sato, closes vim/vim#4462) https://github.com/vim/vim/commit/c28cb5b16df76353a5995fda3b9341612b8630c1
* vim-patch:8.1.1349: if writing runs into conversion error backup file is deletedJan Edmund Lazo2019-05-18
| | | | | | | | Problem: If writing runs into a conversion error the backup file is deleted. (Arseny Nasokin) Solution: Don't delete the backup file is the file was overwritten and a conversion error occurred. (Christian Brabandt, closes vim/vim#4387) https://github.com/vim/vim/commit/cf0bfd9ade5173bcc12563bfc90c21a4db10535d
* vim-patch:8.0.0685: when conversion fails written file may be truncatedckelsel2018-10-12
| | | | | | | | Problem: When making backups is disabled and conversion with iconv fails the written file is truncated. (Luo Chen) Solution: First try converting the file and write the file only when it did not fail. (partly by Christian Brabandt) https://github.com/vim/vim/commit/e6bf655bc4de1b7f4586e1f5c2fc4978141c3aa3
* vim-patch:8.1.0334: 'autowrite' takes effect when buffer is not to be writtenJan Edmund Lazo2018-09-04
| | | | | | | Problem: 'autowrite' takes effect when buffer is not to be written. Solution: Don't write buffers that are not supposed to be written. (Even Q Jones, closes vim/vim#3391) Add tests for 'autowrite'. https://github.com/vim/vim/commit/8c9e7b00f6566dc41e794ef11c93d93b034c7134
* vim-patch:8.0.1190: unusable after opening new window in BufWritePre eventJan Edmund Lazo2018-09-04
| | | | | | | | Problem: Vim becomes unusable after opening new window in BufWritePre event. Solution: Call not_exiting(). (Martin Tournoij, closes vim/vim#2205) Also for "2q" when a help window is open. Add a test. https://github.com/vim/vim/commit/2c33d7bb69c4c2c5b0e39b03cc4b0c04cfdfbb0b
* test: update writefile test for invalid list itemsJan Edmund Lazo2018-06-24
| | | | | | It validates list items with tv_check_str_on_nr() to catch invalid types (ex. E745, E805). If there is an invalid item, it does not write to the file.
* vim-patch:8.0.0642: writefile() continues after detecting an errorJan Edmund Lazo2018-06-24
| | | | | | | Problem: writefile() continues after detecting an error. Solution: Bail out as soon as an error is detected. (suggestions by Nikolai Pavlov, closes vim/vim#1476) https://github.com/vim/vim/commit/8cf91286ca46a501d24e4b7d631b193256782c88
* vim-patch:7.4.2305lonerover2017-03-13
Problem: Marks, writefile and nested function tests are old style. Solution: Turn them into new style tests. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/19a1669ffc796e30a83c5600f82f12ebf63a2261