summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_channel_pipe.py
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-12-09 19:13:13 +0100
committerBram Moolenaar <Bram@vim.org>2017-12-09 19:13:13 +0100
commit620ca2da372dc9c892022faff83d363c67cc5c45 (patch)
treef1315ceb93d6cdee927169ee0e349a3b352dcbb5 /src/testdir/test_channel_pipe.py
parent05684310a53c8a4804441c1c6f8b7fc9e8194940 (diff)
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.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_channel_pipe.py b/src/testdir/test_channel_pipe.py
index a67a81a853..940378624b 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()