From: Jeff Quast Date: Tue, 25 Nov 2014 04:29:51 +0000 (-0800) Subject: Revert back to N_TTY_BUF_SIZE + 1 for Linux X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=1118034eaccbb174a24e1c1c221b83a598cec425;p=third_party%2Fpexpect Revert back to N_TTY_BUF_SIZE + 1 for Linux --- diff --git a/tests/test_maxcanon.py b/tests/test_maxcanon.py index a833164..5f28c53 100644 --- a/tests/test_maxcanon.py +++ b/tests/test_maxcanon.py @@ -38,7 +38,7 @@ XXX interpreters without any deterministic results. self.echo = False if sys.platform.lower().startswith('linux'): # linux is 4096, N_TTY_BUF_SIZE. - self.max_input = 4096 + self.max_input = 4096 + 1 self.echo = True elif sys.platform.lower().startswith('sunos'): # SunOS allows PC_MAX_CANON + 1; see