aboutsummaryrefslogtreecommitdiff
path: root/test/functional/core
Commit message (Collapse)AuthorAge
* API: nvim__stats()Justin M. Keyes2018-04-24
| | | | Use it to verify fsync() behavior.
* test: fsync() codepathsJustin M. Keyes2018-04-23
|
* test: "Command-line option -s": avoid indeterminism (#8305)Justin M. Keyes2018-04-21
| | | closes #8303
* Merge #8276 'startup: Make -s - read from stdin'Justin M. Keyes2018-04-17
|\
| * win: Fix reading from stdinb-r-o-c-k2018-04-14
| | | | | | | | | | | | | | | | * Reading from stdin on Windows is fixed in the same way as it was in #8267. * The file_read function was returning without filling the destination buffer when it was called with a non-blocking file descriptor.
| * Merge branch 'master' into s-dash-stdinb-r-o-c-k2018-04-14
| |\
| * \ Merge branch 'master' into s-dash-stdinZyX2017-12-03
| |\ \
| * | | functests: Disable system(-s -) test on WindowsZyX2017-03-23
| | | | | | | | | | | | | | | | Assume something with system() if second test hangs as well. Assume something with reading stdin if not.
| * | | functests: Do not run termopen test on WindowsZyX2017-03-23
| | | |
| * | | functests: Test -s errorsZyX2017-03-19
| | | |
| * | | main: Temporary fix assertion errorZyX2017-03-19
| | | | | | | | | | | | | | | | | | | | This variant uses `fdopen()` which is not standard, but it fixes problem on my system. In next commit `scriptin` will use `FileDescriptor*` from os/fileio in place of `FILE*`.
| * | | functests: Do not check stdout, it is different on WindowsZyX2017-03-19
| | | |
| * | | functests: Fix testlint errorsZyX2017-03-19
| | | |
| * | | functests: Use Neovim instance and system() in place of lua io.popenZyX2017-03-19
| | | |
| * | | functests: Make sure that line ending is LF and not CRLFZyX2017-03-19
| | | |
| * | | functests: Alter the order of checksZyX2017-03-19
| | | | | | | | | | | | | | | | Check whether `repeated_read_cmd` returned nil and did not actually run nvim or it did, but still returned nil for whatever reason.
| * | | tests: Fix repeated_popen_r usage, rename the functionZyX2017-03-19
| | | |
| * | | tests: Fix CI failuresZyX2017-03-19
| | | |
| * | | functests: Check that `-s` works as expectedZyX2017-03-19
| | | |
* | | | Merge #8120 'test: win: prefer cmd.exe'Justin M. Keyes2018-04-15
|\ \ \ \ | |_|_|/ |/| | |
| * | | test: win: enable jobpid() testsJan Edmund Lazo2018-03-26
| | | | | | | | | | | | | | | | | | | | | | | | Use ping to test job detach Use find.exe as an alternative to cat.exe Use nvim_get_proc to check pid
| * | | fixup: ping.exe works with cmd.exe pipeJan Edmund Lazo2018-03-26
| | | |
| * | | Revert "test/win: use cmd.exe for test"Jan Edmund Lazo2018-03-26
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit ae409b5042abdbec67305a063cf921ddffcce0c8. This PR (#8120) defaults to cmd.exe for job_spec.lua
| * | | test: win: use find.exe /v "" as alternative cat -Jan Edmund Lazo2018-03-26
| | | |
| * | | test: win: try stderr callback and slow outputJan Edmund Lazo2018-03-26
| | | |
| * | | test: win: use powershell for Start-Sleep onlyJan Edmund Lazo2018-03-26
| | | | | | | | | | | | | | | | | | | | | | | | cmd.exe (shell) is faster and more reliable than powershell (.NET frontend). It's best for short and basic tests that don't require non-trivial scripting. cmd.exe doesn't support sleep so use powershell's Start-Sleep as substitute.
* | | | channels: delay free so that libuv can cleanup handlesBjörn Linse2018-04-12
|/ / / | | | | | | | | | add test for a crash this caused
* | | test: lua test for vim-patch:8.0.0184Nimit Bhardwaj2018-03-24
| | | | | | | | | | | | https://github.com/vim/vim/commit/2b7bc567b9238aaac682236cb4f727d0376e1302
* | | test/win: use cmd.exe for testJustin M. Keyes2018-03-18
| | | | | | | | | | | | Can revert this after #8120.
* | | test: jobstop() kills entire process treeJustin M. Keyes2018-03-18
| | | | | | | | | | | | | | | Test correctly fails before 8d90171f8be6. ref #6530
* | | test: rename next_message() to next_msg()Justin M. Keyes2018-03-11
| | |
* | | test: handle non-deterministic message cadenceJustin M. Keyes2018-03-11
| | |
* | | Merge pull request #8031 from bfredl/gotintstatusBjörn Linse2018-02-20
|\ \ \ | | | | | | | | jobwait: return -2 on interrupt even with timeout
| * | | jobwait: return -2 on interrupt also with timeoutBjörn Linse2018-02-20
| | | |
* | | | Resolve issues mentioned in PR reviewJan Edmund Lazo2018-02-19
| | | |
* | | | win: enable job tests that use jobstart onlyJan Edmund Lazo2018-02-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - echo "" does not hang in powershell - cmd.exe's echo command does not hang. - job tests default to powershell (WHY?) - wait 5 seconds for powershell to create an empty file - powershell is slow - cannot reliably validate the id returned by jobstart via jobpid, jobstop - if using cmd.exe, waiting for a second should be enough - remaining job tests are unreliable in Windows because any build can pass/fail for same conditions without changes, especially if the error is in stderr
* | | | test/util: expect_msg_seq()Justin M. Keyes2018-02-18
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | job_spec.lua on AppVeyor (Windows) often fails like this: FAILED ] C:/projects/neovim/test/functional\core\job_spec.lua @ 72: jobs changes to given `cwd` directory C:/projects/neovim/test/functional\core\job_spec.lua:81: Expected objects to be the same. Passed in: (table) { [1] = 'notification' [2] = 'stdout' *[3] = { [1] = 0 *[2] = { [1] = 'C:\projects\neovim\Xtest-tmpdir\nvimmSjq1S\0' } } } Expected: (table) { [1] = 'notification' [2] = 'stdout' *[3] = { [1] = 0 *[2] = { [1] = 'C:\projects\neovim\Xtest-tmpdir\nvimmSjq1S\0' *[2] = '' } } } stack traceback: Message chunking is non-deterministic, so we need to try different variants.
* | | test/win: fix some environment assumptions #7912George Zhao2018-01-28
| | | | | | | | | | | | | | | fix #7909 fix #7910
* | | channel: check for existance before trying to set keyBjörn Linse2017-12-23
| |/ |/| | | | | This avoids an error message in async context, where it is not safe.
* | tests: mark flaky socket test pending for nowBjörn Linse2017-11-27
| |
* | channels: testsBjörn Linse2017-11-26
| |
* | test: startup_spec: cmd.exe escapingJustin M. Keyes2017-11-04
| |
* | test: has("ttyin"), has("ttyout")Justin M. Keyes2017-11-04
| |
* | :cquit : take an error code argument #7336Josh Leeb-du Toit2017-10-22
| | | | | | | | | | | | | | | | | | | | closes #2699 ex_cmds.lua: use flags consistent with similar commands such as `cnext`. upstream discussion: "[patch] :qcuit can take exit code" https://groups.google.com/d/msg/vim_dev/_PjyNbUKyRc/oPgr5_ZXc6AJ
* | test: avoid extra clear() callsJustin M. Keyes2017-10-02
| | | | | | | | also: various other cleanup
* | win: vim_FullName(): force backslashes #7287Ignas Anikevicius2017-10-02
| | | | | | | | | | | | | | | | | | - Replace obvious cases of '/' literal with PATHSEP. (There are still some remaining cases that need closer inspection.) - Fixup tests: ui/screen_basic closes #7117 ref https://github.com/neovim/neovim/issues/2471#issuecomment-271193714
* | Repair job_spec functional testsDrew Neil2017-08-21
| |
* | test: job_spec.lua: disable shada in test instanceJustin M. Keyes2017-08-04
| |
* | functests: Replace execute with either command or feed_commandZyX2017-04-09
| | | | | | | | | | | | | | | | | | | | Hope this will make people using feed_command less likely: this hides bugs. Already found at least two: 1. msgpackparse() will show internal error: hash_add() in case of duplicate keys, though it will still work correctly. Currently silenced. 2. ttimeoutlen was spelled incorrectly, resulting in option not being set when expected. Test was still functioning somehow though. Currently fixed.
* | test: Use workspace-local temp directory.Justin M. Keyes2017-03-30
|/ | | | Closes #6291