aboutsummaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAge
...
* | Merge #8218 'Fix errors reported by PVS'Justin M. Keyes2018-04-27
|\ \ | | | | | | closes #4983
| * | functests: Fix testlint errorsZyX2018-04-22
| | |
| * | eval: Silence PVS/V547: E882 may be triggeredZyX2018-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I failed to deduce why analyzer thinks E882 may not be triggered, though conditions for triggering it are strange: it would trigger E882 only in the single case “function returned non-number”. Cases “function thrown exception”, or “built-in sorter encountered error” will neither yield E882 nor stop sort()/uniq(). Note though that searching test code revealed that neither E702 nor E882 are not tested anywhere.
* | | Merge #8304 "default to 'nofsync'"Justin M. Keyes2018-04-24
|\ \ \
| * | | API: nvim__stats()Justin M. Keyes2018-04-24
| | | | | | | | | | | | | | | | Use it to verify fsync() behavior.
| * | | test: fsync() codepathsJustin M. Keyes2018-04-23
| | | |
* | | | inccommand: pause :terminal redraws (#8307)Justin M. Keyes2018-04-22
| | | | | | | | | | | | fix #5584
* | | | inccommand: do not execute trailing commands #8256Nimit Bhardwaj2018-04-21
|/ / / | | | | | | | | | fix #7494
* | | terminal: do not call redraw_buf_later() (#8306)Justin M. Keyes2018-04-21
| | | | | | | | | fixes #8290
* | | test: "Command-line option -s": avoid indeterminism (#8305)Justin M. Keyes2018-04-21
| | | | | | | | | closes #8303
* | | test/util: throttle retry() (#8296)Justin M. Keyes2018-04-20
| | | | | | | | | | | | | | | | | | Avoid a hot loop in retry(), there's no need to retry more than 50/s. Also use luv.sleep() to implement sleep() instead of spinning the event-loop, so events are not silently discarded.
* | | test/util: retry(): also decorate non-string errorJustin M. Keyes2018-04-18
| | |
* | | test: nodejs_spec: allow more time for nodejs initJustin M. Keyes2018-04-18
| | |
* | | 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
| | | | | |
| * | | | | unittests: Add tests for new fileio functionsZyX2017-03-19
| | | | | |
| * | | | | functests: Test -s errorsZyX2017-03-19
| | | | | |
| * | | | | fileio,main: Do not restart syscall at EAGAIN when reading for -sZyX2017-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
| | | | | |
* | | | | | test: tui_spec.lua: relax test (#8289)Justin M. Keyes2018-04-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes an extra FocusGained/FocusLost event might trigger. This doesn't matter, we just want to test that the events were received in cmdline-mode.
* | | | | | terminal: resize to the max dimensions (#8249)Andrew Pyatkov2018-04-16
| | | | | | | | | | | | | | | | | | | | | | | | closes #8096
* | | | | | job-control: children_kill_cb(): do not check elapsed timeJustin M. Keyes2018-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Don't check elapsed time in children_kill_cb(), it's already implied by the start-time of the timer itself. 2. Restart timer from children_kill_cb() for PTY jobs, to send SIGKILL after SIGTERM. There is an edge case where SIGKILL might follow SIGTERM too quickly, if jobstop() is called near the 2-second timer window. But this edge case is not worth code complication.
* | | | | | 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.
* | | | | | | events: VimSuspend, VimResume #8280geekodour2018-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | closes #3648 ref #5959
* | | | | | | Merge #6272 'stdpath()'Justin M. Keyes2018-04-15
|\ \ \ \ \ \ \
| * | | | | | | test/options: Fix stdpath() failures on WindowsJames McCoy2018-04-01
| | | | | | | |
| * | | | | | | eval: Add stdpath() method (#5297)Christian Höltje2018-03-29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds the :stdpath method for fetching XDG standard directories. Fixes #5297
* | | | | | | | test: win: use "start" to test backgrounded job (#8171)Jan Edmund Lazo2018-04-15
| |_|_|_|/ / / |/| | | | | |
* | | | | | | API/nvim_command_output: handle :echon capture (#8265)Justin M. Keyes2018-04-13
| | | | | | | | | | | | | | | | | | | | | ref https://github.com/neovim/python-client/pull/290
* | | | | | | channels: delay free so that libuv can cleanup handlesBjörn Linse2018-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | add test for a crash this caused
* | | | | | | test/util: expect_err() (#8257)Justin M. Keyes2018-04-11
| | | | | | | | | | | | | | | | | | | | | other cleanup, ref #8245
* | | | | | | server: init v:servername if $NVIM_LISTEN_ADDRESS is invalidJustin M. Keyes2018-04-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this change, if $NVIM_LISTEN_ADDRESS was invalid, v:servername was left empty.