diff --git a/Sanity/basic/runtest.sh b/Sanity/basic/runtest.sh index 2284042..e38696f 100755 --- a/Sanity/basic/runtest.sh +++ b/Sanity/basic/runtest.sh @@ -139,7 +139,7 @@ distribution_xcase__setup() { 0 "flushing mail queue, forcing mail delivery" ;; via_nc_esmtp) - rlRun "mkesmtp | nc localhost 25 > nc.out" \ + rlRun "mkesmtp | while read line ; do sleep 1s ; echo "$line" ; done | nc localhost 25 > nc.out" \ 0 "send mail via ESMTP nc connection" ;; via_gnutls_esmtps) @@ -150,7 +150,7 @@ distribution_xcase__setup() { rlFail "(TEST ERROR)" return 3 } - rlRun "mkesmtp | $(mkclientcmd) >client.out 2>client.err" \ + rlRun "mkesmtp | while read line ; do sleep 1s ; echo "$line" ; done | $(mkclientcmd) >client.out 2>client.err" \ 0 "send mail via ESMTP client connection" ;; *) distribution_xcase__id_error ;; diff --git a/Sanity/bodycheck/runtest.sh b/Sanity/bodycheck/runtest.sh index 45c8e44..c123f5c 100755 --- a/Sanity/bodycheck/runtest.sh +++ b/Sanity/bodycheck/runtest.sh @@ -115,7 +115,7 @@ EOF rlPhaseEnd rlPhaseStartTest -cat << "EOF" | nc localhost 25 &> TESTOUT +cat << "EOF" | while read line ; do sleep 1s ; echo "$line" ; done | nc localhost 25 &> TESTOUT EHLO aliens.outerworld MAIL FROM: friendly@alien.xt RCPT TO: info@example.com diff --git a/Sanity/headercheck/runtest.sh b/Sanity/headercheck/runtest.sh index de60444..a075c72 100755 --- a/Sanity/headercheck/runtest.sh +++ b/Sanity/headercheck/runtest.sh @@ -115,7 +115,7 @@ EOF rlPhaseEnd rlPhaseStartTest -cat << "EOF" | nc localhost 25 &> TESTOUT +cat << "EOF" | while read line ; do sleep 1s ; echo "$line" ; done | nc localhost 25 &> TESTOUT EHLO aliens.outerworld MAIL FROM: friendly@alien.xt RCPT TO: info@example.com diff --git a/Sanity/virtual-MAILBOX-separate-domains-non-UNIX-accounts/runtest.sh b/Sanity/virtual-MAILBOX-separate-domains-non-UNIX-accounts/runtest.sh index aebc8ea..32df373 100755 --- a/Sanity/virtual-MAILBOX-separate-domains-non-UNIX-accounts/runtest.sh +++ b/Sanity/virtual-MAILBOX-separate-domains-non-UNIX-accounts/runtest.sh @@ -102,7 +102,7 @@ EOF rlPhaseEnd rlPhaseStartTest -cat << "EOF" | nc localhost 25 &> TESTOUT +cat << "EOF" | while read line ; do sleep 1s ; echo "$line" ; done | nc localhost 25 &> TESTOUT EHLO root.at MAIL FROM: alien@redneck.com RCPT TO: info@example.com