summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_channel.vim
AgeCommit message (Collapse)Author
2020-03-15patch 8.2.0383: wrong feature check causes test not to be runv8.2.0383Bram Moolenaar
Problem: Wrong feature check causes test not to be run. Solution: Use CheckFunction instead of CheckFeature. (Ozaki Kiichi, closes #5781)
2020-03-15patch 8.2.0382: some tests fail when run under valgrindv8.2.0382Bram Moolenaar
Problem: Some tests fail when run under valgrind. Solution: Increase timeouts.
2020-03-07patch 8.2.0362: MS-Windows: channel test fails if grep is not availablev8.2.0362Bram Moolenaar
Problem: MS-Windows: channel test fails if grep is not available. Solution: Use another command. (Ken Takata, closes #5739)
2020-02-19patch 8.2.0278: channel test is flaky on Macv8.2.0278Bram Moolenaar
Problem: Channel test is flaky on Mac. Solution: Reset variable before sending message.
2020-02-10patch 8.2.0239: MS-Windows: 'env' job option does not override existing varsv8.2.0239Bram Moolenaar
Problem: MS-Windows: 'env' job option does not override existing environment variables. (Tim Pope) Solution: Set the environment variables later. (Yasuhiro Matsumoto, closes #5485, closes #5608)
2020-02-10patch 8.2.0238: MS-Windows: job_stop() results in exit value zerov8.2.0238Bram Moolenaar
Problem: MS-Windows: job_stop() results in exit value zero. Solution: Call TerminateJobObject() with -1 instead of 0. (Yasuhiro Matsumoto, closes #5150, closes #5614)
2020-01-30patch 8.2.0183: tests fail when the float feature is disabledv8.2.0183Bram Moolenaar
Problem: Tests fail when the float feature is disabled. Solution: Skip tests that don't work without float support.
2020-01-26patch 8.2.0156: various typos in source files and testsv8.2.0156Bram Moolenaar
Problem: Various typos in source files and tests. Solution: Fix the typos. (Emir Sari, closes #5532)
2020-01-20patch 8.2.0138: memory leak when starting a job failsv8.2.0138Bram Moolenaar
Problem: Memory leak when starting a job fails. Solution: Free the list of arguments. (Ozaki Kiichi, closes #5510)
2019-12-22patch 8.2.0032: MS-Windows: test for blank job failsv8.2.0032Bram Moolenaar
Problem: MS-Windows: test for blank job fails Solution: Check before escaping.
2019-12-22patch 8.2.0031: MS-Windows: test for empty job failsv8.2.0031Bram Moolenaar
Problem: MS-Windows: test for empty job fails Solution: Check for error message, make it also fail on Unix.
2019-12-21patch 8.2.0029: MS-Windows: crash with empty job commandv8.2.0029Bram Moolenaar
Problem: MS-Windows: crash with empty job command. Solution: Check for NULL result. (Yasuhiro Matsumoto, closes #5390)
2019-12-07patch 8.1.2404: channel test fails under valgrindv8.1.2404Bram Moolenaar
Problem: Channel test fails under valgrind. Solution: Sleep a bit longer.
2019-12-01patch 8.1.2373: cannot build with +popupwin but without +quickfixv8.1.2373Bram Moolenaar
Problem: Cannot build with +popupwin but without +quickfix. (John Marriott) Solution: Adjust #ifdefs.
2019-08-22patch 8.1.1912: more functions can be used as methodsv8.1.1912Bram Moolenaar
Problem: More functions can be used as methods. Solution: Make channel and job functions usable as a method.
2019-08-07patch 8.1.1826: tests use hand coded feature and option checksv8.1.1826Bram Moolenaar
Problem: Tests use hand coded feature and option checks. Solution: Use the commands from check.vim in more tests.
2019-07-29patch 8.1.1777: useless checks for job feature in channel testv8.1.1777Bram Moolenaar
Problem: Useless checks for job feature in channel test. Solution: Remove the checks. Remove ch_log() calls.
2019-07-29patch 8.1.1776: text added with a job isn't displayedv8.1.1776Bram Moolenaar
Problem: Text added with a job to another buffer isn't displayed. Solution: Update topline after adding a line. (closes #4745)
2019-06-06patch 8.1.1483: skipped tests are not properly listedv8.1.1483Bram Moolenaar
Problem: Skipped tests are not properly listed. Solution: Throw a "Skipped" exception instead of using ":finish" or ":return".
2019-03-04patch 8.1.0993: ch_read() may return garbage if terminating NL is missingv8.1.0993Bram Moolenaar
Problem: ch_read() may return garbage if terminating NL is missing. Solution: Add terminating NUL. (Ozaki Kiichi, closes #4065)
2019-02-11patch 8.1.0897: can modify a:000 when using a referencev8.1.0897Bram Moolenaar
Problem: Can modify a:000 when using a reference. Solution: Make check for locked variable stricter. (Ozaki Kiichi, closes #3930)
2019-02-10patch 8.1.0890: pty allocation wrong if using file for out channelv8.1.0890Bram Moolenaar
Problem: Pty allocation wrong if using file for out channel and using null for in channel and null for error channel. Solution: Correct using use_file_for_out in condition. (Ozaki Kiichi, closes #3917)
2019-02-10patch 8.1.0889: MS-Windows: a channel write may hangv8.1.0889Bram Moolenaar
Problem: MS-Windows: a channel write may hang. Solution: Check for WriteFile() not writing anything. (Yasuhiro Matsumoto, closes #3920)
2019-01-31patch 8.1.0863: cannot see what signal caused a job to endv8.1.0863Bram Moolenaar
Problem: Cannot see what signal caused a job to end. Solution: Add "termsig" to job_info(). (Ozaki Kiichi, closes #3786)
2019-01-29patch 8.1.0846: not easy to recognize the system Vim runs onv8.1.0846Bram Moolenaar
Problem: Not easy to recognize the system Vim runs on. Solution: Add more items to the features list. (Ozaki Kiichi, closes #3855)
2019-01-25patch 8.1.0820: test for sending large data over channel sometimes failsv8.1.0820Bram Moolenaar
Problem: Test for sending large data over channel sometimes fails. Solution: Handle that the job may have finished early. Also fix that file changed test doesn't work in the GUI and reduce flakyness. (Ozaki Kiichi, closes #3861)
2019-01-24patch 8.1.0818: MS-Windows: cannot send large data with ch_sendraw()v8.1.0818Bram Moolenaar
Problem: MS-Windows: cannot send large data with ch_sendraw(). Solution: Split write into several WriteFile() calls. (Yasuhiro Matsumoto, closes #3823)
2019-01-23patch 8.1.0799: calling deleted function; test doesn't work on Macv8.1.0799Bram Moolenaar
Problem: Calling deleted function; test doesn't work on Mac. Solution: Wait for the function to be called before deleting it. Use a job to write to the pty, unless in the GUI. (Ozaki Kiichi, closes #3854)
2019-01-12patch 8.1.0735: cannot handle binary datav8.1.0735Bram Moolenaar
Problem: Cannot handle binary data. Solution: Add the Blob type. (Yasuhiro Matsumoto, closes #3638)
2019-01-09patch 8.1.0710: when using timers may wait for job exit quite longv8.1.0710Bram Moolenaar
Problem: When using timers may wait for job exit quite long. Solution: Return from ui_wait_for_chars_or_timer() when a job or channel needs to be handled. (Ozaki Kiichi, closes #3783)
2019-01-05patch 8.1.0693: channel test fails sometimesv8.1.0693Bram Moolenaar
Problem: Channel test fails sometimes. Solution: Avoid race condition.
2019-01-05patch 8.1.0692: if a buffer was deleted a channel can't write to itv8.1.0692Bram Moolenaar
Problem: If a buffer was deleted a channel can't write to it. Solution: When the buffer exists but was unloaded, prepare it for writing. (closes #3764)
2018-12-14patch 8.1.0591: channel sort test is flakyv8.1.0591Bram Moolenaar
Problem: Channel sort test is flaky. Solution: Do not check if the job is running, it may have be done very fast.
2018-10-12patch 8.1.0471: some tests are flaky or fail on some systemsv8.1.0471Bram Moolenaar
Problem: Some tests are flaky or fail on some systems. Solution: Increase waiting time for port number. Use "cmd /c" to execute "echo" on win32. (Ken Takata, closes #3534)
2018-10-07patch 8.1.0464: MS-Windows: job_info() has cmd without backslashesv8.1.0464Bram Moolenaar
Problem: MS-Windows: job_info() has cmd without backslashes. (Daniel Hahler) Solution: Use rem_backslash(). (closes #3517, closes #3404)
2018-09-06patch 8.1.0350: Vim may block on ch_sendraw()v8.1.0350Bram Moolenaar
Problem: Vim may block on ch_sendraw() when the job is sending data back to Vim, which isn't read yet. (Nate Bosch) Solution: Add the "noblock" option to job_start(). (closes #2548)
2018-04-28patch 8.0.1771: in tests, when WaitFor() fails it doesn't say whyv8.0.1771Bram Moolenaar
Problem: In tests, when WaitFor() fails it doesn't say why. (James McCoy) Solution: Add WaitForAssert(), which produces an assert error when it fails.
2018-04-24patch 8.0.1761: job in terminal window with no output channel is killedv8.0.1761Bram Moolenaar
Problem: Job in terminal window with no output channel is killed. Solution: Keep the job running when the input is a tty. (Ozaki Kiichi, closes #2734)
2018-04-21patch 8.0.1742: cannot get a list of all the jobsv8.0.1742Bram Moolenaar
Problem: Cannot get a list of all the jobs. Cannot get the command of the job. Solution: When job_info() is called without an argument return a list of jobs. Otherwise, include the command that the job is running. (Yegappan Lakshmanan)
2018-04-11patch 8.0.1697: various tests are still a bit flakyv8.0.1697Bram Moolenaar
Problem: Various tests are still a bit flaky. Solution: Increase the default wait time to five seconds.
2018-04-07patch 8.0.1671: crash when passing non-dict argument as env to job_start()v8.0.1671Bram Moolenaar
Problem: Crash when passing non-dict argument as env to job_start(). Solution: Check for valid argument. (Ozaki Kiichi, closes #2765)
2018-04-05patch 8.0.1666: % argument in ch_log() causes troublev8.0.1666Bram Moolenaar
Problem: % argument in ch_log() causes trouble. Solution: Use string as third argument in internal ch_log(). (Dominique Pelle, closes #2784)
2018-02-27patch 8.0.1552: may leak file descriptors when executing jobv8.0.1552Bram Moolenaar
Problem: May leak file descriptors when executing job. Solution: Close more file descriptors. (Ozaki Kiichi, closes #2531)
2017-12-09patch 8.0.1381: ch_readraw() waits for NL if channel mode is NLv8.0.1381Bram Moolenaar
Problem: ch_readraw() waits for NL if channel mode is NL. Solution: Pass a "raw" flag to channel_read_block(). (Yasuhiro Matsumoto)
2017-12-02patch 8.0.1365: when one channel test fails others fail as wellv8.0.1365Bram Moolenaar
Problem: When one channel test fails others fail as well. Solution: Stop the job after a failure. Also add a couple of tests to the list of flaky tests.
2017-11-04patch 8.0.1260: using global variables for WaitFor()v8.0.1260Bram Moolenaar
Problem: Using global variables for WaitFor(). Solution: Use a lambda function instead. Don't check a condition if WaitFor() already checked it.
2017-11-02patch 8.0.1245: when WaitFor() has a wrong expression it just waits a secondv8.0.1245Bram Moolenaar
Problem: When WaitFor() has a wrong expression it just waits a second, which goes unnoticed. (James McCoy) Solution: When WaitFor() times out throw an exception. Fix places where the expression was wrong.
2017-10-06patch 8.0.1176: job_start() does not handle quote and backslash correctlyv8.0.1176Bram Moolenaar
Problem: Job_start() does not handle quote and backslash correctly. Solution: Remove quotes, recognize and remove backslashes.
2017-08-13patch 8.0.0928: MS-Windows: passing arglist to job has escaping problemsv8.0.0928Bram Moolenaar
Problem: MS-Windows: passing arglist to job has escaping problems. Solution: Improve escaping. (Yasuhiro Matsumoto, closes #1954)
2017-08-11patch 8.0.0902: cannot specify directory or environment for a jobv8.0.0902Bram Moolenaar
Problem: Cannot specify directory or environment for a job. Solution: Add the "cwd" and "env" arguments to job options. (Yasuhiro Matsumoto, closes #1160)