From: Caspar Zhang <czhang@redhat.com>
To: ltp-list@lists.sourceforge.net
Subject: [LTP] Review Required: [Re: [PATCH] fix mail02, 03 fail due to different sender names]
Date: Mon, 14 Feb 2011 15:43:06 +0800 [thread overview]
Message-ID: <4D58DD0A.2050403@redhat.com> (raw)
In-Reply-To: <4D42FFBE.3080105@redhat.com>
Sorry for bothering, any comments on this patch?
On 01/29/2011 01:41 AM, Caspar Zhang wrote:
> Hi all, mail02 and mail03 tests non-existed host and non-existed
> username in the test. However in some systems (at least in RHEL6),
> they both fails because of the sender name of the returned letter is
> "Mail Delivery System" instead of "Mail Delivery Subsys", which makes RC1
> to be zero and fail the test. The patch fixes this issue.
>
> Signed-off-by: Caspar Zhang <czhang@redhat.com>
> ---
> testcases/commands/mail/mail_tests.sh | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/testcases/commands/mail/mail_tests.sh
> b/testcases/commands/mail/mail_tests.sh
> index 53a5d90..c30e2c3 100755
> --- a/testcases/commands/mail/mail_tests.sh
> +++ b/testcases/commands/mail/mail_tests.sh
> @@ -169,7 +169,7 @@ else
> RC1=$(awk '/^>N/ {IGNORECASE=1; print match($3, "Mailer-Daemon")}' \
> $LTPTMP/tst_mail.res)
> else
> - RC1=$(awk '/^>N/ {IGNORECASE=1; print match($3 $4 $5,
> "MailDeliverySubsys")}' \
> + RC1=$(awk '/^>N/ {IGNORECASE=1; print match($3 $4 $5,
> "MailDelivery(Subsys|System)")}' \
> $LTPTMP/tst_mail.res)
> fi
>
> @@ -250,7 +250,7 @@ else
> RC1=$(awk '/^>N/ {IGNORECASE=1; print match($3, "Mailer-Daemon")}' \
> $LTPTMP/tst_mail.res)
> else
> - RC1=$(awk '/^>N/ {IGNORECASE=1; print match($3 $4 $5,
> "MailDeliverySubsys")}' \
> + RC1=$(awk '/^>N/ {IGNORECASE=1; print match($3 $4 $5,
> "MailDelivery(Subsys|System)")}' \
> $LTPTMP/tst_mail.res)
> fi
> ##################################################################
--
Quality Assurance Engineer (Kernel) in
Red Hat Software (Beijing) Co., R&D Branch
TEL: +86-10-62608150
WEB: http://www.redhat.com/
--
C-A-S-P-A-R, Caspar /kæspɑ:/ ;-)
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list
next prev parent reply other threads:[~2011-02-14 7:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-28 17:41 [LTP] [PATCH] fix mail02,03 fail due to different sender names Caspar Zhang
2011-02-11 15:45 ` Caspar Zhang
2011-02-14 7:43 ` Caspar Zhang [this message]
2011-02-22 19:15 ` [LTP] Review Required: [Re: [PATCH] fix mail02, 03 fail due to different sender names] Shubham Goyal
2011-02-22 21:08 ` Garrett Cooper
2011-02-24 18:31 ` Shubham Goyal
2011-02-24 18:37 ` Garrett Cooper
2011-02-28 7:41 ` Shubham Goyal
2011-02-28 7:43 ` Garrett Cooper
2011-02-28 7:55 ` Caspar Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D58DD0A.2050403@redhat.com \
--to=czhang@redhat.com \
--cc=ltp-list@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox