summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_channel_pipe.py
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-03-08 15:37:41 +0100
committerBram Moolenaar <Bram@vim.org>2016-03-08 15:37:41 +0100
commite98d12105213975f37b8d653bd909bd787a2cda9 (patch)
tree147809c00a8fe07529e294f97148c8efdf3d469a /src/testdir/test_channel_pipe.py
parent41e0f2f48f541eb2c8eb5620d3f1d270eb979154 (diff)
patch 7.4.1514v7.4.1514
Problem: Channel output to file not implemented yet. Solution: Implement it for Unix.
Diffstat (limited to 'src/testdir/test_channel_pipe.py')
-rw-r--r--src/testdir/test_channel_pipe.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/testdir/test_channel_pipe.py b/src/testdir/test_channel_pipe.py
index 2097d3ebca..d5da687309 100644
--- a/src/testdir/test_channel_pipe.py
+++ b/src/testdir/test_channel_pipe.py
@@ -21,10 +21,13 @@ if __name__ == "__main__":
if typed.startswith("echo "):
print(typed[5:-1])
sys.stdout.flush()
- if typed.startswith("echoerr"):
- print(typed[8:-1], file=sys.stderr)
- sys.stderr.flush()
- if typed.startswith("double"):
+ if typed.startswith("double "):
print(typed[7:-1] + "\nAND " + typed[7:-1])
sys.stdout.flush()
+ if typed.startswith("echoerr "):
+ print(typed[8:-1], file=sys.stderr)
+ sys.stderr.flush()
+ if typed.startswith("doubleerr "):
+ print(typed[10:-1] + "\nAND " + typed[10:-1], file=sys.stderr)
+ sys.stderr.flush()