From b0a0441902f848da4284e107c29e43e222252959 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 26 Aug 2013 21:01:17 +0100 Subject: 31672: Add test that was failing and fix zpty set-up race --- Test/V08zpty.ztst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Test') diff --git a/Test/V08zpty.ztst b/Test/V08zpty.ztst index d9d24c5e8..5b08fc281 100644 --- a/Test/V08zpty.ztst +++ b/Test/V08zpty.ztst @@ -11,10 +11,18 @@ %test + zpty cat cat + zpty -w cat a line of text + var= + zpty -r cat var && print -r -- ${var%%$'\r\n'} + zpty -d cat +0:zpty with a process that does not set up the terminal: internal write +>a line of text + zpty cat cat print a line of text | zpty -w cat var= zpty -r cat var && print -r -- ${var%%$'\r\n'} zpty -d cat -0:zpty with a process that does not set up the terminal +0:zpty with a process that does not set up the terminal: write via stdin >a line of text -- cgit 1.4.1