diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-12-09 19:13:13 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-12-09 19:13:13 +0100 |
commit | 620ca2da372dc9c892022faff83d363c67cc5c45 (patch) | |
tree | f1315ceb93d6cdee927169ee0e349a3b352dcbb5 /src/testdir/test_channel_pipe.py | |
parent | 05684310a53c8a4804441c1c6f8b7fc9e8194940 (diff) | |
download | vim-git-620ca2da372dc9c892022faff83d363c67cc5c45.tar.gz |
patch 8.0.1381: ch_readraw() waits for NL if channel mode is NLv8.0.1381
Problem: ch_readraw() waits for NL if channel mode is NL.
Solution: Pass a "raw" flag to channel_read_block(). (Yasuhiro Matsumoto)
Diffstat (limited to 'src/testdir/test_channel_pipe.py')
-rw-r--r-- | src/testdir/test_channel_pipe.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_channel_pipe.py b/src/testdir/test_channel_pipe.py index a67a81a85..940378624 100644 --- a/src/testdir/test_channel_pipe.py +++ b/src/testdir/test_channel_pipe.py @@ -14,6 +14,10 @@ if __name__ == "__main__": if sys.argv[1].startswith("err"): print(sys.argv[1], file=sys.stderr) sys.stderr.flush() + elif sys.argv[1].startswith("incomplete"): + print(sys.argv[1], end='') + sys.stdout.flush() + sys.exit(0) else: print(sys.argv[1]) sys.stdout.flush() |