diff --git a/test/basic.py b/test/basic.py index 2d7d670..672e270 100644 --- a/test/basic.py +++ b/test/basic.py @@ -16,12 +16,12 @@ child.logfile = logfile child.setecho(False) child.sendline("hello") -child.expect("ECHO: hello") +child.expect("ECHO: hello\r\n") reptyr = pexpect.spawn("./reptyr -V %d" % (child.pid,)) reptyr.logfile = logfile reptyr.sendline("world") -reptyr.expect("ECHO: world") +reptyr.expect("ECHO: world\r\n") child.sendline("final") expect_eof(child.child_fd)