From bf5986272f1b98627f107be404208037dd454cc0 Mon Sep 17 00:00:00 2001 From: Christoph Galuschka Date: Oct 04 2014 18:56:15 +0000 Subject: more fixes to expect helper script --- diff --git a/tests/p_exim/_helper_exim_ehlo.expect b/tests/p_exim/_helper_exim_ehlo.expect index acf7ef0..18aef9b 100755 --- a/tests/p_exim/_helper_exim_ehlo.expect +++ b/tests/p_exim/_helper_exim_ehlo.expect @@ -7,7 +7,13 @@ expect "220 *" send -- "ehlo localhost\n" expect -- "250-PIPELINING" sleep 1 -send -- "mail from: root@localhost\nrcpt to: eximtest@localhost\ndata\nt_functional test\n.\n" +send -- "mail from: root@localhost\n" +expect -- "250\ OK" +send -- "rcpt to: eximtest@localhost\n" +expect -- "250\ Accepted" +send -- "data\n" +expect -- "354*" +send -- "t_functional test\n.\n" expect -- "250\ OK*" send -- "quit\n" expect "221*closing\ connection"